Skip to content

Commit

Permalink
relax some conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZjzMisaka committed Nov 12, 2023
1 parent 06de6b9 commit 479c45f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UnitTest/ControlTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public void TestPauseAll()
powerPool.Wait();

Assert.Collection<long>(logList,
item => Assert.True(item >= 1500 && item < 1800),
item => Assert.True(item >= 1500 && item < 1800),
item => Assert.True(item >= 1500 && item < 1800)
item => Assert.True(item >= 1500 && item < 2000),
item => Assert.True(item >= 1500 && item < 2000),
item => Assert.True(item >= 1500 && item < 2000)
);
}

Expand Down Expand Up @@ -705,7 +705,7 @@ public void TestPauseThreadTimer()
powerPool.Wait();
long duration = GetNowSs() - start;

Assert.True(duration >= 3000);
Assert.True(duration >= 2900);
}

[Fact]
Expand Down

0 comments on commit 479c45f

Please sign in to comment.