Esempio n. 1
0
        public void TestTestCall()
        {
            TestNativeContract testNativeContract = new TestNativeContract();
            ApplicationEngine  engine             = testNativeContract.TestCall("System.Blockchain.GetHeight", 0);

            engine.ResultStack.Should().BeEmpty();
        }
Esempio n. 2
0
        public void TestTestCall()
        {
            var snapshot             = TestBlockchain.GetTestSnapshot();
            ApplicationEngine engine = testNativeContract.TestCall(snapshot, "System.Blockchain.GetHeight", 0);

            engine.ResultStack.Should().BeEmpty();
        }