增加Progress的IsFinished函数;修改解压ZIP的重试逻辑以及中途取消解压的参数

This commit is contained in:
HerobrineXia committed 2026-07-27 12:55:01 +08:00
1 parent 41f44afd9f
commit ddad46e30d
5 files changed
+35 -29

No files matched your search

+1 -1
View File
@@ -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]