Beispiel #1
0
 public void Input_359999_Should_Be_99_99_99()
 {
     Assert.AreEqual("99:59:59", TimeFormat.GetReadableTime(359999));
 }
Beispiel #2
0
 public void GetHour_Input_0_Should_Be_0()
 {
     Assert.AreEqual(0, TimeFormat.GetHour(0));
 }
Beispiel #3
0
 public void Input_60_Should_Be_00_01_00()
 {
     Assert.AreEqual("00:01:00", TimeFormat.GetReadableTime(60));
 }
Beispiel #4
0
 public void Input_86399_Should_Be_23_59_59()
 {
     Assert.AreEqual("23:59:59", TimeFormat.GetReadableTime(86399));
 }
Beispiel #5
0
 public void Input_5_Should_Be_00_00_05()
 {
     Assert.AreEqual("00:00:05", TimeFormat.GetReadableTime(5));
 }
Beispiel #6
0
 public void GetSec_Input_3600_Should_Be_0()
 {
     Assert.AreEqual(0, TimeFormat.GetSec(3600));
 }
Beispiel #7
0
 public void GetSec_Input_100_Should_Be_40()
 {
     Assert.AreEqual(40, TimeFormat.GetSec(100));
 }
Beispiel #8
0
 public void GetMin_Input_100_Should_Be_1()
 {
     Assert.AreEqual(1, TimeFormat.GetMin(100));
 }
Beispiel #9
0
 public void GetHour_Input_3600_Should_Be_1()
 {
     Assert.AreEqual(1, TimeFormat.GetHour(3600));
 }