Skip to content

Commit 08f96aa

Browse files
committed
adjust test after adding more StatIdentifiers
1 parent ef99632 commit 08f96aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/D2Reader.Test/Struct/D2StatTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public void TestValidLoStatIdentifier()
1313
stat.HiStatID = 140;
1414
stat.Value = 4999;
1515

16-
stat.LoStatID = 140;
16+
stat.LoStatID = 0x140; // must be some value not defined in StatIdentifier
1717
Assert.AreEqual(false, stat.HasValidLoStatIdentifier());
1818

1919
stat.LoStatID = (ushort)StatIdentifier.PoisonDivisor;
@@ -22,7 +22,7 @@ public void TestValidLoStatIdentifier()
2222
stat.LoStatID = (ushort)StatIdentifier.CannotBeFrozen;
2323
Assert.AreEqual(true, stat.HasValidLoStatIdentifier());
2424

25-
stat.LoStatID = 300;
25+
stat.LoStatID = 0x300; // must be some value not defined in StatIdentifier
2626
Assert.AreEqual(false, stat.HasValidLoStatIdentifier());
2727
}
2828
}

0 commit comments

Comments
 (0)