Commit Graph

167 Commits

Author SHA1 Message Date
0ad6eaec2f test calls actual code we wrote 2024-10-27 23:13:39 +00:00
ed94fa57bc make "cabal test" work 2024-10-27 20:19:58 +00:00
ad919999bc cabal init and some Haskell nixy stuff
nix-shell -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [  cabal-install ])" --run "cabal init"
2024-10-27 20:19:38 +00:00
1e2c54b0e1 WIP before change of direction 2024-10-27 18:16:02 +00:00
6e4c1b7351 add hr 2024-10-25 21:25:20 +01:00
a85a00762d parse cadence 2024-10-25 00:12:19 +01:00
94a8987828 improve test for missing ele 2024-10-25 00:11:58 +01:00
2204a53a4f parse power 2024-10-25 00:00:37 +01:00
086664f8fb extract Position from the Point type 2024-10-24 23:06:00 +01:00
cf6d4cf9c0 timestamp is optional 2024-10-24 18:28:40 +01:00
a762245d86 elevation is optional in gpx
(so is nearly everything else, but am doing one thing at a time)
2024-10-24 18:24:03 +01:00
7b8e07d3ba check we read all <trkseg> not just the first
.. it turns out that elm-xml-decode does this already
2024-10-24 17:59:59 +01:00
a54f903326 add time and elevation to gpx parsing 2024-10-24 17:14:35 +01:00
6b3c456c41 reverse actual and expected in Expect
otherwise the error messages when test fails are arse about face
2024-10-24 17:13:17 +01:00
b78dbda7b8 parse actual lat/lon from gpx trkpt nodes 2024-10-23 23:49:19 +01:00
4922e4d5d9 add xml and test packages 2024-10-23 23:37:38 +01:00
2286ae1a49 first passing test 2024-10-23 23:37:29 +01:00