Fix tests after last change.

This commit is contained in:
Patrick Fairbank
2019-04-12 17:32:40 -07:00
parent 74c1063a2d
commit 0f74de7ad8
7 changed files with 37 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ func TestSecondCounting(t *testing.T) {
assertRedSeconds(t, 13.8, 0.0, redSwitch, timeAfterStart(17), timeAfterEnd(-10))
redSwitch.UpdateState([2]bool{true, false}, timeAfterEnd(-5.1))
assertRedSeconds(t, 18.9, 0.0, redSwitch, timeAfterStart(17), timeAfterEnd(0))
assertBlueSeconds(t, 111.9, 0.0, redSwitch, timeAfterStart(17), timeAfterEnd(0))
assertBlueSeconds(t, 109.9, 0.0, redSwitch, timeAfterStart(17), timeAfterEnd(0))
}
func TestForce(t *testing.T) {