File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ interface
55 DUnitX.TestFramework;
66
77const
8- CanonicalVersion = ' 2.3 .0' ;
8+ CanonicalVersion = ' 2.4 .0' ;
99
1010type
1111
@@ -80,6 +80,10 @@ TClockTest = class(TObject)
8080 [Ignore]
8181 procedure Negative_minutes_roll_over_continuously ;
8282
83+ [Test]
84+ [Ignore]
85+ procedure Negative_sixty_minutes_is_previous_hour ;
86+
8387 [Test]
8488 [Ignore]
8589 procedure Negative_hour_and_minutes_both_roll_over ;
@@ -318,6 +322,11 @@ procedure TClockTest.Negative_minutes_roll_over_continuously;
318322 Assert.AreEqual(' 16:40' , Clock.SetHands(1 , -4820 ).ToString);
319323end ;
320324
325+ procedure TClockTest.Negative_sixty_minutes_is_previous_hour ;
326+ begin
327+ Assert.AreEqual(' 01:00' , Clock.SetHands(2 , -60 ).ToString);
328+ end ;
329+
321330procedure TClockTest.Negative_hour_and_minutes_both_roll_over ;
322331begin
323332 Assert.AreEqual(' 20:20' , Clock.SetHands(-25 , -160 ).ToString);
You can’t perform that action at this time.
0 commit comments