Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Added sample csv data.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdalmo committed Dec 12, 2016
1 parent dee7442 commit 6de1afd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
target
examples/data/*.csv
4 changes: 4 additions & 0 deletions examples/data/sample.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0,2200000001,5.6187,58.9995
1,2200000002,11.0531,59.2761
2,2200000003,10.5,61.1333
3,2200000004,10.8904,60.0637
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fn test_read_csv() {
match res {
Ok(v) => {
// TODO: This is the 2nd row. Why?
assert_eq!(v[0].testid, 2258426552);
assert_eq!(v[0].testid, 2200000002);
assert_eq!(v[0].longitude, 11.0531);
assert_eq!(v[0].latitude, 59.2761);
},
Expand Down

0 comments on commit 6de1afd

Please sign in to comment.