From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sat, 20 Nov 2021 15:05:01 +0000 (-0700) Subject: update fit locations test with improved sample (#767) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~2^2~48 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ff76e254a269c772da3cf7df94b1cab6b8dab1dc;p=gpsbabel.git update fit locations test with improved sample (#767) * update fit test with improved sample. * reference file mode correction. --- diff --git a/reference/Lctns_Instinct.csv b/reference/Lctns_Instinct.csv deleted file mode 100644 index a5b703af6..000000000 --- a/reference/Lctns_Instinct.csv +++ /dev/null @@ -1,9 +0,0 @@ -No,Latitude,Longitude,Name,Altitude -1,50.031985,14.310719,"X", -2,50.101786,14.391518," > 1",235.4 -3,50.102963,14.391518,"2",235.4 -4,50.104888,14.391045,"3",235.4 -5,50.206686,14.260687,"12 SEP 19:07",226.6 -6,50.213687,14.307941,"15 SEP 18:47",287.8 -7,50.184026,14.367012,"3 OCT 15:42",197.8 -8,50.172190,14.239638,"3 OCT 17:33",261.8 diff --git a/reference/Lctns_Instinct.fit b/reference/Lctns_Instinct.fit old mode 100755 new mode 100644 index 57168b8cf..1285a3252 Binary files a/reference/Lctns_Instinct.fit and b/reference/Lctns_Instinct.fit differ diff --git a/reference/Lctns_Instinct.gpx b/reference/Lctns_Instinct.gpx new file mode 100644 index 000000000..204a076aa --- /dev/null +++ b/reference/Lctns_Instinct.gpx @@ -0,0 +1,61 @@ + + + + + + 46.000 + Greenwich ele46 + Greenwich ele46 + Greenwich ele46 + + + 47.000 + Unseen4AllTrail + Unseen4AllTrail + Unseen4AllTrail + + + 2.000 + North pole ele2 + North pole ele2 + North pole ele2 + + + 2835.000 + South pole 2835 + South pole 2835 + South pole 2835 + + + Elevation unset + Elevation unset + Elevation unset + + + 449.000 + Байкал + Байкал + Байкал + + + Händelstraße + Händelstraße + Händelstraße + + + בית לחם + בית לחם + בית לחם + + + الكويت + الكويت + الكويت + + + Θέατρο + Θέατρο + Θέατρο + + + diff --git a/testo.d/garmin_fit.test b/testo.d/garmin_fit.test index 559f09e01..840086809 100644 --- a/testo.d/garmin_fit.test +++ b/testo.d/garmin_fit.test @@ -33,8 +33,8 @@ compare ${REFERENCE}/track/lezyne_super_gps-garmin_fit-sample-bad-endian.gpx ${T gpsbabel -i garmin_fit -f ${REFERENCE}/track/fitlocations-sample.fit -o gpx -F ${TMPDIR}/fitlocations-sample.gpx compare ${REFERENCE}/track/fitlocations-sample.gpx ${TMPDIR}/fitlocations-sample.gpx -gpsbabel -i garmin_fit -f ${REFERENCE}/Lctns_Instinct.fit -o unicsv,utc=0 -F ${TMPDIR}/Lctns_Instinct.csv -compare ${REFERENCE}/Lctns_Instinct.csv ${TMPDIR}/Lctns_Instinct.csv +gpsbabel -i garmin_fit -f ${REFERENCE}/Lctns_Instinct.fit -o gpx -F ${TMPDIR}/Lctns_Instinct.gpx +compare ${REFERENCE}/Lctns_Instinct.gpx ${TMPDIR}/Lctns_Instinct.gpx # # Basic FIT tests (write)