Skip to content

Commit

Permalink
Kick off new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin Qiao committed Mar 19, 2020
1 parent 5efda66 commit fa70610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/neo.UnitTests/SmartContract/UT_InteropService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,7 @@ public void TestContract_CreateStandardAccount()
{
var engine = GetEngine(true, true);
byte[] data = "024b817ef37f2fc3d4a33fe36687e592d9f30fe24b3e28187dc8f12b3b3b2b839e".HexToBytes();

engine.CurrentContext.EvaluationStack.Push(data);
InteropService.Invoke(engine, InteropService.Contract.CreateStandardAccount).Should().BeTrue();
engine.CurrentContext.EvaluationStack.Pop().GetSpan().ToArray().Should().BeEquivalentTo(UInt160.Parse("0x2c847208959ec1cc94dd13bfe231fa622a404a8a").ToArray());
Expand Down

0 comments on commit fa70610

Please sign in to comment.