Example #1
0
        public void HasData_Test_Negative()
        {
            CMdlFile obj = Setup("", out byte[] cont);

            obj.SetData(cont);

            bool result = obj.HasData();

            Assert.IsFalse(result);
        }
Example #2
0
        public void HasData_Test_Positive()
        {
            CMdlFile obj = Setup("BINVRSN{\r\n    1\r\n}\r\nFRMERootNode", out byte[] cont);

            obj.SetData(cont);

            bool result = obj.HasData();

            Assert.IsTrue(result);
        }