From b226720e9c7c418fff2703b32d9b3b68a71b4ee1 Mon Sep 17 00:00:00 2001 From: Valentin Date: Mon, 13 Jan 2025 11:45:30 +0100 Subject: [PATCH] Make TimerTests less brittle --- Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs b/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs index e889787d..ba9cae9d 100644 --- a/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs +++ b/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs @@ -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++) { @@ -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++) { @@ -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++) {