Skip to content

Commit

Permalink
Update tests/Neo.UnitTests/SmartContract/UT_OpCodePrices.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y authored Feb 14, 2024
1 parent 4da85ce commit b2a0ceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Neo.UnitTests/SmartContract/UT_OpCodePrices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public void AllOpcodePriceAreSet()
continue;

Assert.AreNotEqual(0, ApplicationEngine.OpCodePriceTable[(byte)opcode], $"{opcode} without price");
Assert.AreEqual(ApplicationEngine.OpCodePrices[opcode], ApplicationEngine.OpCodePriceTable[(byte)opcode], $"{opcode} price mismatch");
}
}
}
Expand Down

0 comments on commit b2a0ceb

Please sign in to comment.