public void AddOneProp_NameSpaceTest() { NS ns = new NS(typeof(string).Namespace); Assert.AreEqual(0, ns.getTypesList().Count); ns.addMethod(typeof(string), typeof(string).GetMethods()[0]); Assert.AreNotEqual(null, ns.getTypesList()[0].methods[0]); }
public void addType_typeList__NameSpaceTest() { NS ns = new NS(typeof(string).Namespace); Assert.AreEqual(0, ns.getTypesList().Count); ns.addType(typeof(string)); Assert.AreEqual(1, ns.getTypesList().Count); //Assert.Pass(); }