MCPcopy Create free account
hub / github.com/Neop/mudmap2 / testGetId

Method testGetId

src/test/java/mudmap2/backend/LayerTest.java:645–658  ·  view source on GitHub ↗

Test of getId method, of class Layer.

()

Source from the content-addressed store, hash-verified

643 * Test of getId method, of class Layer.
644 */
645 @Test
646 public void testGetId() {
647 System.out.println("getId");
648
649 int expResult = 0;
650 Layer instance = new Layer(expResult, world);
651 int result = instance.getId();
652 assertEquals(expResult, result);
653
654 int expResult2 = 100;
655 Layer instance2 = new Layer(expResult2, world);
656 int result2 = instance2.getId();
657 assertEquals(expResult2, result2);
658 }
659
660 /**
661 * Test of getWorld method, of class Layer.

Callers

nothing calls this directly

Calls 1

getIdMethod · 0.95

Tested by

no test coverage detected