Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Nov 14, 2023
1 parent fc62e8a commit f5b417f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Test/Solver/ActionSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,16 @@ public void TestElementAt()
set.AddAction(ActionType.BasicSynthesis);
set.AddAction(ActionType.ByregotsBlessing);
set.AddAction(ActionType.DelicateSynthesis);
set.AddAction(ActionType.FocusedTouch);
set.AddAction(ActionType.Reflect);

Assert.AreEqual(4, set.Count);

Assert.AreEqual(ActionType.DelicateSynthesis, set.ElementAt(0));
Assert.AreEqual(ActionType.FocusedTouch, set.ElementAt(1));
Assert.AreEqual(ActionType.Reflect, set.ElementAt(1));
Assert.AreEqual(ActionType.ByregotsBlessing, set.ElementAt(2));
Assert.AreEqual(ActionType.BasicSynthesis, set.ElementAt(3));

set.RemoveAction(ActionType.FocusedTouch);
set.RemoveAction(ActionType.Reflect);

Assert.AreEqual(3, set.Count);

Expand Down

1 comment on commit f5b417f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: f5b417f Previous: 4bf7397 Ratio
Craftimizer.Benchmark.Bench.Solve(State: 5372D31C98FA4C357F54029912394B0F5ECBE94AEC9D12C1C2B7F453C62ACD2F, Config: B75845A5DEDC79F3C98FE35F28206855B0EF4E065555FAF2AA129AED115B7744) 1416504592.3076923 ns (± 3638484.5255182683) 1480306700 ns (± 23679878.252854258) 0.96
Craftimizer.Benchmark.Bench.Solve(State: 5372D31C98FA4C357F54029912394B0F5ECBE94AEC9D12C1C2B7F453C62ACD2F, Config: B75845A5DEDC79F3C98FE35F28206855B0EF4E065555FAF2AA129AED115B7744) 1159405464.2857144 ns (± 2793455.5467562564) 1480306700 ns (± 23679878.252854258) 0.78
Craftimizer.Benchmark.Bench.Solve(State: 99B0F1AD46A18B4D8262F9BA75ABE23507217C2F20FBF895A49282DDFEF50190, Config: B75845A5DEDC79F3C98FE35F28206855B0EF4E065555FAF2AA129AED115B7744) 1572578971.4285715 ns (± 4127796.157837659) 1450385066.6666667 ns (± 6712458.243197247) 1.08
Craftimizer.Benchmark.Bench.Solve(State: 99B0F1AD46A18B4D8262F9BA75ABE23507217C2F20FBF895A49282DDFEF50190, Config: B75845A5DEDC79F3C98FE35F28206855B0EF4E065555FAF2AA129AED115B7744) 1090085280 ns (± 5438066.309452285) 1450385066.6666667 ns (± 6712458.243197247) 0.75

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.