neo-project / neo-devpack-dotnet

NEO Development Pack
MIT License
79 stars 100 forks source link

[TestEngine] IndexOrRange #1112

Closed shargon closed 1 month ago

shargon commented 1 month ago

Related to https://github.com/neo-project/neo-devpack-dotnet/issues/1080

The contract IndexOrRange fails when I create the unit tests

    Test method Neo.Compiler.CSharp.UnitTests.UnitTest_IndexOrRange.Test_Main threw exception: 
    Neo.SmartContract.Testing.Exceptions.TestException: An unhandled exception was thrown. The value 2 is out of range. ---> Neo.VM.VMUnhandledException: An unhandled exception was thrown. The value 2 is out of range.
shargon commented 1 month ago

@Jim8y could you help me here?