Skip to content

Commit e377434

Browse files
committed
修改
1 parent 2997069 commit e377434

27 files changed

+1480
-2097
lines changed

ToolGood.Algorithm.Test/AlgorithmEngine/AlgorithmEngineTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void Test()
8282

8383

8484
var value3 = engine.TryEvaluate("-7 < -2", false);
85-
Assert.AreEqual(value2, true);
85+
Assert.AreEqual(value3, true);
8686
}
8787

8888
[Test]

ToolGood.Algorithm.Test/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
using PetaTest;
22
using System;
33
using System.Collections.Generic;
4+
using System.Globalization;
45
using System.Linq;
56
using System.Text;
7+
using System.Threading;
68
using System.Threading.Tasks;
79
using ToolGood.Algorithm;
810

@@ -36,7 +38,8 @@ static void Main(string[] args)
3638
// var a = t;
3739
//}
3840

39-
41+
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");
42+
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR");
4043

4144
PetaTest.Runner.RunMain(args);
4245

0 commit comments

Comments
 (0)