예제 #1
0
        public void Class_Nested_EnumExtraction()
        {
            EnumDetail ei = ExtractNestedEnum(Subjects.One, "ParentClass", "NestedPrivateEnum");

            Assert.AreEqual(Status.Present, ei.Status);
            Assert.AreEqual("private enum NestedPrivateEnum", ei.ToString());
        }
예제 #2
0
        public void Enum_Extraction()
        {
            EnumDetail ei = ExtractEnum(Subjects.One, "Hairdo");

            Assert.AreEqual(Status.Present, ei.Status);
            Assert.AreEqual("public enum Hairdo", ei.ToString());
        }