MCPcopy Create free account
hub / github.com/annmuor/jnode / testRead2D

Method testRead2D

jnode-core/test/java/jnode/ftn/FtnToolsTest.java:33–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 */
32public class FtnToolsTest {
33 @Test
34 public void testRead2D() throws Exception {
35 List<Ftn2D> r = FtnTools.read2D("250/25 463/68 5000/111");
36
37 TestCase.assertEquals(3, r.size());
38 TestCase.assertEquals(new Ftn2D(250,25), r.get(0));
39 TestCase.assertEquals(new Ftn2D(463,68), r.get(1));
40 TestCase.assertEquals(new Ftn2D(5000,111), r.get(2));
41 }
42
43 @Test
44 public void testRead2DSmart() throws Exception {

Callers

nothing calls this directly

Calls 2

read2DMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected