예제 #1
0
        public void TestFacilityType()
        {
#if !DEBUG
        Assert.Multiple(() => {
#endif
            var assert = new TypeAssert<FacilityType>();
            assert.Enum();
            string[] actual = assert.Type.GetEnumNames();
            string[] expected = { "National", "State", "Local" };
            CollectionAssert.AreEquivalent(expected, actual, $"The FacilityType Enum must consists of the following names: {string.Join(", ", expected)}");
#if !DEBUG
        });
#endif
        }