Esempio n. 1
0
 public void TestPeakTimeWhen6to1()
 {
     var testDateTime = new DateTime( 2014, 09, 04, 13, 42, 0 );
      var sut = new TimeKeeper( null );
      Assert.IsTrue( sut.IsItPeakTime( testDateTime ) );
 }
Esempio n. 2
0
 public void TestPeakTime()
 {
     var testDateTime = new DateTime( 2014, 09, 04, 3, 42, 0 );
      var sut = new TimeKeeper(null);
      Assert.IsFalse( sut.IsItPeakTime( testDateTime ) );
 }