예제 #1
0
 private void RunTests()
 {
     WageComputer comp = new WageComputer();
     float retVal = comp.ComputeWages(40, 5, true);
     if (retVal == 200)
     {
         Console.WriteLine("Pass!");
     }
     else
     {
         Console.WriteLine("Fail!");
     }
     Console.ReadKey();
 }
 public void Run_once_before_any_tests()
 {
     _computer = new WageComputer();
 }