Exemple #1
0
        public void ReadText_Test_EoF()
        {
            CMdlFileNavigator obj = new CMdlFileNavigator(new byte[0]);

            string text = obj.ReadText();

            Assert.IsTrue(text == "", "Returned data: " + text);
        }
Exemple #2
0
        public void ReadText_Test_Expected()
        {
            string            str = " ExampleText";
            CMdlFileNavigator obj = Setup(str + "\0");

            string text = obj.ReadText();

            Assert.IsTrue(text.Equals(str), "Returned data: " + text);
        }