public void IsEquipmentTest() { bool gc = SymbolData.IsEquipment(string.Empty); Assert.AreEqual(gc, false); // Nonsense code should fail with empty Equipment string gc = SymbolData.IsEquipment("ABCD-----------"); Assert.AreEqual(gc, false); // Intelligence lead-in code should pass gc = SymbolData.IsEquipment("IBCD-----------"); Assert.AreEqual(gc, true); // This should force Warfighting with a check for Equipment // which should fail unless we protect when the Equipment string // is empty. gc = SymbolData.IsEquipment("SBCD-----------"); Assert.AreEqual(gc, false); // Check against emergency management operation equipment gc = SymbolData.IsEquipment("EBOD-----------"); Assert.AreEqual(gc, false); // Check against emergency management operation equipment gc = SymbolData.IsEquipment("EBODAE---------"); Assert.AreEqual(gc, true); // Check against emergency management infrastructure equipment gc = SymbolData.IsEquipment("EBFD-----------"); Assert.AreEqual(gc, false); // Check against emergency management infrastructure equipment gc = SymbolData.IsEquipment("EBFDBA---------"); Assert.AreEqual(gc, true); }