@Test public void testSymbolNameLookupNullOne() { System.out.println("testSymbolNameLookupNullOne"); String ret = symbolLookup.symbolNameToId(null); assertEquals(SymbolLookup.NOT_FOUND, ret); }
@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 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 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); }