예제 #1
0
 public void TestCalculateLatenessAmountShouldReturn2()
 {
     LateDirectory newDirectory = new LateDirectory("testTicketID");
     int amount = newDirectory.CalculateLatenessAmountOfParticularStudent("Jane", "Smith");
     Assert.AreEqual(2, amount);
 }
예제 #2
0
 public void TestAmountOfLatenessByStudentID()
 {
     LateDirectory newDirectory = new LateDirectory("testTicketID");
     int amount = newDirectory.CalculateLatenessAmountOfParticularStudent("20");
     Assert.AreEqual(2, amount);
 }