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