コード例 #1
0
        public void Employee_Full_Name()
        {
            TestEmployee myEmployee = new TestEmployee("Sara", "Benett");
            string       fullname   = myEmployee.ReturnFullName();

            StringAssert.Equals(fullname, "Sara Benett");
        }
コード例 #2
0
        public void Employee_Full_Name_Sorting()
        {
            TestEmployee myEmployee = new TestEmployee("Sara", "Benett");
            string       fullname   = myEmployee.ReturnFullNameForSortingPurposes();

            StringAssert.Equals(fullname, "Benett, Sara");
        }