| 1 |
add_h3_cli_test( |
| 2 |
testCliGreatCircleDistanceMArg "greatCircleDistanceM -c '[[0, 1], [1, 2]]'" |
| 3 |
"157249.5585117787") |
| 4 |
add_h3_cli_test( |
| 5 |
testCliGreatCircleDistanceMFile |
| 6 |
"greatCircleDistanceM -i ${PROJECT_SOURCE_DIR}/tests/inputfiles/great_circle_distance.txt" |
| 7 |
"157249.5585117787") |
| 8 |
add_h3_cli_test( |
| 9 |
testCliGreatCircleDistanceMStdin |
| 10 |
"greatCircleDistanceM -i -- < ${PROJECT_SOURCE_DIR}/tests/inputfiles/great_circle_distance.txt" |
| 11 |
"157249.5585117787") |
| 12 |
add_h3_cli_test( |
| 13 |
testCliGreatCircleDistanceMBadArg "greatCircleDistanceM -c '[[0, 1]]' 2>&1" |
| 14 |
"Only two pairs of coordinates should be provided.") |