コード例 #1
0
        public void WriteTOFile_shouldntWork()
        {
            var    student = new StudentAddCourse();
            string rightPath = "user.txt", emptyline = "";

            student.writeToFile(rightPath, emptyline);
        }
コード例 #2
0
        public void checkIsEmpty_shouldWork()
        {
            var student = new StudentAddCourse();

            string[] obj    = { "hii" };
            string[] obj1   = { "hii there" };
            bool     actual = student.makesureNotEmpty(obj, obj1);

            Assert.IsTrue(actual);
        }