コード例 #1
0
        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]);
        }