()
| 4 | |
| 5 | #[test] |
| 6 | fn test_bundle_simple_points() { |
| 7 | let input = b"\ |
| 8 | POINT (0 0)\n\ |
| 9 | POINT (1 1)\n\ |
| 10 | POINT (2 2)\n\ |
| 11 | "; |
| 12 | |
| 13 | let expected = "GEOMETRYCOLLECTION(POINT(0 0),POINT(1 1),POINT(2 2))\n"; |
| 14 | |
| 15 | let output = tool("bundle").write_stdin(input).captured_output(); |
| 16 | assert!(output.status.success()); |
| 17 | let stdout = String::from_utf8_lossy(&output.stdout); |
| 18 | assert_eq!(expected, stdout); |
| 19 | } |
nothing calls this directly
no test coverage detected