예제 #1
0
        public void Test_interop_method_hash_matches_neo()
        {
            var @string  = "Neo.Runtime.GetTrigger";
            var expected = Neo.SmartContract.Helper.ToInteropMethodHash(@string);

            HashHelpers.TryInteropMethodHash(@string, out var actual).Should().BeTrue();
            actual.Should().Be(expected);
        }