コード例 #1
0
 public void AddStudent()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddStudent("lala", 10000);
     Assert.AreEqual("lala", school.GetStudentByUID(10000).Name);
 }
コード例 #2
0
 public void AddBadIDStudentLow()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddStudent("lala", 9999);
 }
コード例 #3
0
 public void AddDuplicatedIDStudent()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddStudent("lala", 10000);
     school.AddStudent("2222", 10000);
 }
コード例 #4
0
 public void AddBadIDStudentHigh()
 {
     School.Lib.School school = new School.Lib.School();
     school.AddStudent("lala", 100000);
 }