Skip to content

Commit

Permalink
modify: modify test about addItem Zero
Browse files Browse the repository at this point in the history
  • Loading branch information
HwiYul-G committed Oct 25, 2024
1 parent 8ccba81 commit 3a3335f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static IEnumerable<object[]> GetExecuteMemberData()
};
yield return new object[]
{
1, 0, 0, typeof(NotEnoughMaterialException), null,
1, 1, 1, typeof(NotEnoughMaterialException), null,
};
yield return new object[]
{
Expand Down
14 changes: 7 additions & 7 deletions .Lib9c.Tests/Action/Summon/AuraSummonTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public void CumulativeRatio(string version, int groupId)
9,
800201,
9,
0,
2,
new[] { 10610000, 10610000, 10610000, 10610000, 10610000, 10610000, 10620000, 10620000, 10620000, },
null
)]
Expand All @@ -144,7 +144,7 @@ public void CumulativeRatio(string version, int groupId)
9,
600201,
9,
0,
1,
new[] { 10620001, 10620001, 10620001, 10620001, 10620001, 10630001, 10630001, 10630001, 10630001, },
null
)]
Expand All @@ -155,7 +155,7 @@ public void CumulativeRatio(string version, int groupId)
10,
800201,
10,
0,
1,
new[] { 10610000, 10610000, 10610000, 10610000, 10610000, 10610000, 10610000, 10610000, 10620000, 10620000, 10620000, },
null
)]
Expand All @@ -165,15 +165,15 @@ public void CumulativeRatio(string version, int groupId)
10,
600201,
10,
0,
2,
new[] { 10620001, 10620001, 10620001, 10620001, 10620001, 10620001, 10630001, 10620001, 10630001, 10630001, 10630001, },
null
)]
// fail by invalid group
[InlineData("V1", 100003, 1, null, 0, 0, new int[] { }, typeof(RowNotInTableException))]
[InlineData("V1", 100003, 1, null, 0, 1, new int[] { }, typeof(RowNotInTableException))]
// fail by not enough material
[InlineData("V1", 10001, 1, 800201, 0, 0, new int[] { }, typeof(NotEnoughMaterialException))]
[InlineData("V1", 10001, 2, 800201, 0, 0, new int[] { }, typeof(NotEnoughMaterialException))]
[InlineData("V1", 10001, 1, 800201, 0, 2, new int[] { }, typeof(NotEnoughMaterialException))]
[InlineData("V1", 10001, 2, 800201, 0, 1, new int[] { }, typeof(NotEnoughMaterialException))]
// Fail by exceeding summon limit
[InlineData("V1", 10001, 11, 800201, 22, 1, new int[] { }, typeof(InvalidSummonCountException))]
// 15 recipes
Expand Down
4 changes: 2 additions & 2 deletions .Lib9c.Tests/Action/Summon/RuneSummonTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private class ExecuteMemeber : IEnumerable<object[]>
9,
600201,
9,
0,
2,
null,
},
// Ten plus one
Expand All @@ -218,7 +218,7 @@ private class ExecuteMemeber : IEnumerable<object[]>
10,
600201,
10,
0,
1,
null,
},
// fail by invalid group
Expand Down

0 comments on commit 3a3335f

Please sign in to comment.