MCPcopy Create free account
hub / github.com/Notgnoshi/generative / test_bundle_simple_points

Function test_bundle_simple_points

tests/test_bundle.rs:6–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5#[test]
6fn 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}

Callers

nothing calls this directly

Calls 2

toolFunction · 0.85
captured_outputMethod · 0.80

Tested by

no test coverage detected