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()); }
public void Enum_Extraction() { EnumDetail ei = ExtractEnum(Subjects.One, "Hairdo"); Assert.AreEqual(Status.Present, ei.Status); Assert.AreEqual("public enum Hairdo", ei.ToString()); }