@Test public void testSymbolNameLookupNullOne() { System.out.println("testSymbolNameLookupNullOne"); String ret = symbolLookup.symbolNameToId(null); assertEquals(SymbolLookup.NOT_FOUND, ret); }
@Test public void testSymbolIdLookupBadOne() { System.out.println("testSymbolIdLookupBadOne"); String ret = symbolLookup.symbolIdToName("Test-BadOne-Id"); assertEquals(SymbolLookup.NOT_FOUND, ret); }
@Test public void testSymbolIdToName() { System.out.println("testSymbolIdToName"); String sic2Check = "GHMPOGL-----USG"; String expectedName = "General Obstacle Line"; String actualName = symbolLookup.symbolIdToName(sic2Check); System.out.println("SIC: " + sic2Check + ", returned Name: " + actualName); assertEquals(expectedName, actualName); }
@Test public void testSymbolIdToName2() { System.out.println("testSymbolIdToName2"); String sic2Check = "GHGPGPWA----USX"; String expectedName = "Aim Point H"; String actualName = symbolLookup.symbolIdToName(sic2Check); System.out.println("SIC: " + sic2Check + ", returned Name: " + actualName); assertEquals(expectedName, actualName); }
@Test public void testSymbolNameToId3() { System.out.println("testSymbolNameToId3"); String name2Check = "Infantry"; String sidc = symbolLookup.symbolNameToId(name2Check); String expectedSic = "SFGPUCI--------"; System.out.println("Name: " + name2Check + ", returned SIC: " + sidc); assertEquals(expectedSic, sidc); }
@Test public void testSymbolNameToId2() { System.out.println("testSymbolNameToId2"); String name2Check = "Infantry Motorized F~Battalion/Squadron~Headquarters"; String sidc = symbolLookup.symbolNameToId(name2Check); String expectedSic = "SFGPUCIM-------"; System.out.println("Name: " + name2Check + ", returned SIC: " + sidc); assertEquals(expectedSic, sidc); }
@Test public void testSymbolNameToId() { System.out.println("testSymbolNameToId"); String name2Check = "Limited Access Area H"; String sidc = symbolLookup.symbolNameToId(name2Check); String expectedSic = "GHGPGAY-------X"; System.out.println("Name: " + name2Check + ", returned SIC: " + sidc); assertEquals(expectedSic, sidc); }