Skip to content

Commit

Permalink
adjust test after adding more StatIdentifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Zutatensuppe committed Jun 14, 2021
1 parent ef99632 commit 08f96aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/D2Reader.Test/Struct/D2StatTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public void TestValidLoStatIdentifier()
stat.HiStatID = 140;
stat.Value = 4999;

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

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

stat.LoStatID = 300;
stat.LoStatID = 0x300; // must be some value not defined in StatIdentifier
Assert.AreEqual(false, stat.HasValidLoStatIdentifier());
}
}
Expand Down

0 comments on commit 08f96aa

Please sign in to comment.