@Test public void sameDevsDiffPorts() { title("sameDevsDiffPorts"); UiLinkId one = UiLinkId.uiLinkId(LINK_X1_TO_Y2); UiLinkId other = UiLinkId.uiLinkId(LINK_X1_TO_Y3); print("link one: %s", one); print("link other: %s", other); assertNotEquals("equiv?", one, other); }
@Test public void canonical() { title("canonical"); UiLinkId one = UiLinkId.uiLinkId(LINK_X1_TO_Y2); UiLinkId two = UiLinkId.uiLinkId(LINK_Y2_TO_X1); print("link one: %s", one); print("link two: %s", two); assertEquals("not equiv", one, two); }