增加Progress的IsFinished函数;修改解压ZIP的重试逻辑以及中途取消解压的参数
This commit is contained in:
5 files changed
+35
-29
No files matched your search
@@ -46,7 +46,7 @@ public class ProgressTest : TestBase {
|
||||
progress.Set(0.75, skiped: true);
|
||||
|
||||
await Assert.That(changedCount).IsEqualTo(2);
|
||||
await Assert.That(Math.Abs(progress.GetIncrement() - 2.0 / 3) < 0.000001).IsTrue();
|
||||
await Assert.That(Math.Abs(progress.GetIncreasing() - 2.0 / 3) < 0.000001).IsTrue();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user