Skip to content

Commit

Permalink
Add tests for path difficulty
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Aug 31, 2023
1 parent a94c87e commit 1967a4c
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/androidTest/assets/paths/durfee loop.gpx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0"?><gpx version="1.1" creator="Trail Sense" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xmlns:trailsense="https://kylecorry.com/Trail-Sense" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd https://kylecorry.com/Trail-Sense https://kylecorry.com/Trail-Sense/trailsense.xsd"><trk><name>Durfee Hill Loop</name><number>218</number><trkseg><trkpt lat="41.92064765" lon="-71.73835732"><ele>166.1</ele><time>2022-09-01T20:27:17.405Z</time></trkpt><trkpt lat="41.92049411" lon="-71.7383492"><ele>164.2</ele><time>2022-09-01T20:27:34.433Z</time></trkpt><trkpt lat="41.92043805" lon="-71.7382964"><ele>164.9</ele><time>2022-09-01T20:27:48.433Z</time></trkpt><trkpt lat="41.91994164" lon="-71.73815685"><ele>159.1</ele><time>2022-09-01T20:28:03.434Z</time></trkpt><trkpt lat="41.91979695" lon="-71.73832915"><ele>162.5</ele><time>2022-09-01T20:28:18.426Z</time></trkpt><trkpt lat="41.91950326" lon="-71.73850379"><ele>185.3</ele><time>2022-09-01T20:28:34.433Z</time></trkpt><trkpt lat="41.91936569" lon="-71.73828334"><ele>172.4</ele><time>2022-09-01T20:28:48.430Z</time></trkpt><trkpt lat="41.91885542" lon="-71.73914331"><ele>162.4</ele><time>2022-09-01T20:29:50.428Z</time></trkpt><trkpt lat="41.91860152" lon="-71.7394801"><ele>177.9</ele><time>2022-09-01T20:30:18.427Z</time></trkpt><trkpt lat="41.91849683" lon="-71.73953386"><ele>177.1</ele><time>2022-09-01T20:30:33.432Z</time></trkpt><trkpt lat="41.91819246" lon="-71.7399939"><ele>174.9</ele><time>2022-09-01T20:31:05.433Z</time></trkpt><trkpt lat="41.91813362" lon="-71.74017443"><ele>172.8</ele><time>2022-09-01T20:31:19.423Z</time></trkpt><trkpt lat="41.91801053" lon="-71.74025483"><ele>181.9</ele><time>2022-09-01T20:31:33.422Z</time></trkpt><trkpt lat="41.91776617" lon="-71.74033763"><ele>178.5</ele><time>2022-09-01T20:31:50.432Z</time></trkpt><trkpt lat="41.91779138" lon="-71.74037744"><ele>176.7</ele><time>2022-09-01T20:32:02.429Z</time></trkpt><trkpt lat="41.91772546" lon="-71.74035544"><ele>166.1</ele><time>2022-09-01T20:32:19.431Z</time></trkpt><trkpt lat="41.91740555" lon="-71.74045409"><ele>163.8</ele><time>2022-09-01T20:32:34.427Z</time></trkpt><trkpt lat="41.91711726" lon="-71.74073577"><ele>166.6</ele><time>2022-09-01T20:33:02.423Z</time></trkpt><trkpt lat="41.9167092" lon="-71.74105201"><ele>179.6</ele><time>2022-09-01T20:33:33.428Z</time></trkpt><trkpt lat="41.91651534" lon="-71.74116351"><ele>192.0</ele><time>2022-09-01T20:33:49.437Z</time></trkpt><trkpt lat="41.91644625" lon="-71.74112716"><ele>186.4</ele><time>2022-09-01T20:34:05.430Z</time></trkpt><trkpt lat="41.91621894" lon="-71.74121958"><ele>184.6</ele><time>2022-09-01T20:34:18.422Z</time></trkpt><trkpt lat="41.91590173" lon="-71.74140891"><ele>173.4</ele><time>2022-09-01T20:34:35.430Z</time></trkpt><trkpt lat="41.91591873" lon="-71.74154004"><ele>189.5</ele><time>2022-09-01T20:34:50.418Z</time></trkpt><trkpt lat="41.9157912" lon="-71.74181803"><ele>186.1</ele><time>2022-09-01T20:35:19.430Z</time></trkpt><trkpt lat="41.91602562" lon="-71.74221972"><ele>182.0</ele><time>2022-09-01T20:35:34.427Z</time></trkpt><trkpt lat="41.91590178" lon="-71.74251116"><ele>171.7</ele><time>2022-09-01T20:36:04.441Z</time></trkpt><trkpt lat="41.91572715" lon="-71.74263932"><ele>169.0</ele><time>2022-09-01T20:36:17.425Z</time></trkpt><trkpt lat="41.91534522" lon="-71.74262204"><ele>175.6</ele><time>2022-09-01T20:36:35.410Z</time></trkpt><trkpt lat="41.91519924" lon="-71.74253129"><ele>186.2</ele><time>2022-09-01T20:36:47.417Z</time></trkpt><trkpt lat="41.91518286" lon="-71.74262895"><ele>187.4</ele><time>2022-09-01T20:37:04.420Z</time></trkpt><trkpt lat="41.91500934" lon="-71.74255484"><ele>186.8</ele><time>2022-09-01T20:37:20.435Z</time></trkpt><trkpt lat="41.91471011" lon="-71.74263782"><ele>186.1</ele><time>2022-09-01T20:37:34.430Z</time></trkpt><trkpt lat="41.91447148" lon="-71.74259742"><ele>198.6</ele><time>2022-09-01T20:38:02.415Z</time></trkpt><trkpt lat="41.9142618" lon="-71.74246811"><ele>190.6</ele><time>2022-09-01T20:38:17.440Z</time></trkpt><trkpt lat="41.91423271" lon="-71.74239174"><ele>195.5</ele><time>2022-09-01T20:38:32.430Z</time></trkpt><trkpt lat="41.9136875" lon="-71.74209633"><ele>184.8</ele><time>2022-09-01T20:39:20.441Z</time></trkpt><trkpt lat="41.91376474" lon="-71.74205481"><ele>169.6</ele><time>2022-09-01T20:39:35.433Z</time></trkpt><trkpt lat="41.91368395" lon="-71.74209112"><ele>174.3</ele><time>2022-09-01T20:39:47.423Z</time></trkpt><trkpt lat="41.91365169" lon="-71.74188785"><ele>172.3</ele><time>2022-09-01T20:40:17.407Z</time></trkpt><trkpt lat="41.91380307" lon="-71.74145077"><ele>180.8</ele><time>2022-09-01T20:40:35.430Z</time></trkpt><trkpt lat="41.91370537" lon="-71.74131744"><ele>198.8</ele><time>2022-09-01T20:40:50.433Z</time></trkpt><trkpt lat="41.91374788" lon="-71.74129656"><ele>197.4</ele><time>2022-09-01T20:41:04.427Z</time></trkpt><trkpt lat="41.91417753" lon="-71.74046802"><ele>194.5</ele><time>2022-09-01T20:41:51.440Z</time></trkpt><trkpt lat="41.91425079" lon="-71.74049143"><ele>196.4</ele><time>2022-09-01T20:42:06.429Z</time></trkpt><trkpt lat="41.9144032" lon="-71.74045561"><ele>183.0</ele><time>2022-09-01T20:42:36.429Z</time></trkpt><trkpt lat="41.91465374" lon="-71.74029395"><ele>175.5</ele><time>2022-09-01T20:43:02.429Z</time></trkpt><trkpt lat="41.91481613" lon="-71.74024315"><ele>183.3</ele><time>2022-09-01T20:43:21.414Z</time></trkpt><trkpt lat="41.91498279" lon="-71.7403586"><ele>186.5</ele><time>2022-09-01T20:43:34.431Z</time></trkpt><trkpt lat="41.91519392" lon="-71.74031615"><ele>184.3</ele><time>2022-09-01T20:43:50.416Z</time></trkpt><trkpt lat="41.91532461" lon="-71.74047454"><ele>186.0</ele><time>2022-09-01T20:44:05.428Z</time></trkpt><trkpt lat="41.91547896" lon="-71.74082464"><ele>168.5</ele><time>2022-09-01T20:44:20.425Z</time></trkpt><trkpt lat="41.91552467" lon="-71.74087007"><ele>172.7</ele><time>2022-09-01T20:44:34.428Z</time></trkpt><trkpt lat="41.91551237" lon="-71.74091275"><ele>172.5</ele><time>2022-09-01T20:44:48.428Z</time></trkpt><trkpt lat="41.91585927" lon="-71.74130317"><ele>164.4</ele><time>2022-09-01T20:45:20.428Z</time></trkpt><trkpt lat="41.91598143" lon="-71.74132896"><ele>183.9</ele><time>2022-09-01T20:45:36.411Z</time></trkpt><trkpt lat="41.91625459" lon="-71.74123241"><ele>185.3</ele><time>2022-09-01T20:46:19.429Z</time></trkpt></trkseg></trk></gpx>
1 change: 1 addition & 0 deletions app/src/androidTest/assets/paths/durfee short.gpx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0"?><gpx version="1.1" creator="Trail Sense" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xmlns:trailsense="https://kylecorry.com/Trail-Sense" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd https://kylecorry.com/Trail-Sense https://kylecorry.com/Trail-Sense/trailsense.xsd"><trk><name>Durfee Hill</name><number>275</number><trkseg><trkpt lat="41.9022567" lon="-71.784391"><ele>176.57837</ele><time>2023-05-19T17:20:52.967Z</time></trkpt><trkpt lat="41.902302" lon="-71.78438956"><ele>179.775</ele><time>2023-05-19T17:21:22.970Z</time></trkpt><trkpt lat="41.90215678" lon="-71.78432892"><ele>177.79245</ele><time>2023-05-19T17:21:52.970Z</time></trkpt><trkpt lat="41.90206347" lon="-71.78423713"><ele>177.12163</ele><time>2023-05-19T17:22:08.960Z</time></trkpt><trkpt lat="41.90236507" lon="-71.78447564"><ele>178.55258</ele><time>2023-05-19T17:23:08.974Z</time></trkpt><trkpt lat="41.9022288" lon="-71.784631"><ele>176.1375</ele><time>2023-05-19T17:23:23.963Z</time></trkpt><trkpt lat="41.90207297" lon="-71.78473788"><ele>173.57501</ele><time>2023-05-19T17:23:38.961Z</time></trkpt><trkpt lat="41.90191219" lon="-71.784728"><ele>171.90001</ele><time>2023-05-19T17:23:54.976Z</time></trkpt><trkpt lat="41.90177747" lon="-71.78463842"><ele>169.73753</ele><time>2023-05-19T17:24:08.970Z</time></trkpt><trkpt lat="41.9014566" lon="-71.78453397"><ele>167.55003</ele><time>2023-05-19T17:24:38.973Z</time></trkpt><trkpt lat="41.90133686" lon="-71.78453283"><ele>166.23659</ele><time>2023-05-19T17:24:53.974Z</time></trkpt><trkpt lat="41.90096688" lon="-71.78437497"><ele>165.5905</ele><time>2023-05-19T17:25:25.324Z</time></trkpt><trkpt lat="41.9010416" lon="-71.78422406"><ele>164.07234</ele><time>2023-05-19T17:25:39.982Z</time></trkpt><trkpt lat="41.90092773" lon="-71.78402265"><ele>169.74998</ele><time>2023-05-19T17:25:54.973Z</time></trkpt><trkpt lat="41.90082096" lon="-71.78391725"><ele>168.85002</ele><time>2023-05-19T17:26:24.966Z</time></trkpt><trkpt lat="41.90082542" lon="-71.78382167"><ele>167.20749</ele><time>2023-05-19T17:26:37.998Z</time></trkpt><trkpt lat="41.90059322" lon="-71.7836656"><ele>163.10452</ele><time>2023-05-19T17:27:24.962Z</time></trkpt><trkpt lat="41.90029167" lon="-71.78319188"><ele>161.36636</ele><time>2023-05-19T17:27:40.356Z</time></trkpt><trkpt lat="41.90038735" lon="-71.78316828"><ele>163.3697</ele><time>2023-05-19T17:27:54.989Z</time></trkpt><trkpt lat="41.90024411" lon="-71.78328684"><ele>167.13322</ele><time>2023-05-19T17:28:22.991Z</time></trkpt><trkpt lat="41.90005302" lon="-71.78326417"><ele>168.85533</ele><time>2023-05-19T17:29:10.377Z</time></trkpt><trkpt lat="41.900049" lon="-71.78308635"><ele>168.27858</ele><time>2023-05-19T17:29:23.983Z</time></trkpt><trkpt lat="41.90014966" lon="-71.78291173"><ele>172.04686</ele><time>2023-05-19T17:29:54.961Z</time></trkpt><trkpt lat="41.90010365" lon="-71.78292463"><ele>169.75801</ele><time>2023-05-19T17:30:07.974Z</time></trkpt><trkpt lat="41.90004472" lon="-71.78305662"><ele>169.22359</ele><time>2023-05-19T17:30:23.972Z</time></trkpt><trkpt lat="41.90009315" lon="-71.78327734"><ele>167.99228</ele><time>2023-05-19T17:30:38.981Z</time></trkpt><trkpt lat="41.90023626" lon="-71.78336711"><ele>169.25984</ele><time>2023-05-19T17:30:55.401Z</time></trkpt><trkpt lat="41.90027724" lon="-71.7833588"><ele>165.2991</ele><time>2023-05-19T17:31:24.972Z</time></trkpt><trkpt lat="41.90059302" lon="-71.7835784"><ele>166.16124</ele><time>2023-05-19T17:32:25.429Z</time></trkpt><trkpt lat="41.90071842" lon="-71.78373331"><ele>159.13904</ele><time>2023-05-19T17:32:38.981Z</time></trkpt><trkpt lat="41.90082642" lon="-71.78399865"><ele>159.30464</ele><time>2023-05-19T17:32:55.432Z</time></trkpt><trkpt lat="41.90094952" lon="-71.78409752"><ele>163.08214</ele><time>2023-05-19T17:33:08.964Z</time></trkpt><trkpt lat="41.90102809" lon="-71.78424752"><ele>164.25148</ele><time>2023-05-19T17:33:23.970Z</time></trkpt><trkpt lat="41.9012284" lon="-71.78429281"><ele>160.55005</ele><time>2023-05-19T17:33:54.986Z</time></trkpt><trkpt lat="41.90164893" lon="-71.78456804"><ele>162.5692</ele><time>2023-05-19T17:34:38.976Z</time></trkpt><trkpt lat="41.90187385" lon="-71.78454421"><ele>158.96997</ele><time>2023-05-19T17:34:54.987Z</time></trkpt><trkpt lat="41.90201011" lon="-71.78466434"><ele>160.77531</ele><time>2023-05-19T17:35:10.462Z</time></trkpt><trkpt lat="41.90220428" lon="-71.78460682"><ele>167.55402</ele><time>2023-05-19T17:35:37.957Z</time></trkpt><trkpt lat="41.90233689" lon="-71.78438515"><ele>172.81158</ele><time>2023-05-19T17:36:23.976Z</time></trkpt></trkseg></trk></gpx>
Loading

0 comments on commit 1967a4c

Please sign in to comment.