worker 和进度相关
This commit is contained in:
1 parent
93e2f5cde8
commit
dbdbfcebd2
5 files changed
+67
-50
No files matched your search
@@ -40,7 +40,7 @@ public class ProgressTest : TestBase {
|
||||
progress.Set(0.75, skiped: true);
|
||||
|
||||
await Assert.That(changedCount).IsEqualTo(2);
|
||||
await Assert.That(Math.Abs(progress.Observe() - 2.0 / 3) < 0.000001).IsTrue();
|
||||
await Assert.That(Math.Abs(progress.GetIncrement() - 2.0 / 3) < 0.000001).IsTrue();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user