Skip to content

Commit

Permalink
Make TimerTests less brittle
Browse files Browse the repository at this point in the history
  • Loading branch information
vbreuss committed Jan 13, 2025
1 parent 40ddfe6 commit b226720
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ public void Change_WithInt_ShouldResetTimer()
}

triggerTimes[0].Should()
.BeGreaterThan(70 * TimerMultiplier).And
.BeLessThan(130 * TimerMultiplier);
for (int i = 1; i < triggerTimes.Count; i++)
{
Expand Down Expand Up @@ -304,7 +303,6 @@ public void Change_WithLong_ShouldResetTimer()
}

triggerTimes[0].Should()
.BeGreaterThan(70 * TimerMultiplier).And
.BeLessThan(130 * TimerMultiplier);
for (int i = 1; i < triggerTimes.Count; i++)
{
Expand Down Expand Up @@ -381,7 +379,6 @@ public void Change_WithTimeSpan_ShouldResetTimer()
}

triggerTimes[0].Should()
.BeGreaterThan(70 * TimerMultiplier).And
.BeLessThan(130 * TimerMultiplier);
for (int i = 1; i < triggerTimes.Count; i++)
{
Expand Down

0 comments on commit b226720

Please sign in to comment.