compiler: add test for murmur32 interop API
This commit is contained in:
parent
9dcceadab6
commit
72ec354039
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ func TestNativeHelpersCompile(t *testing.T) {
|
||||||
runNativeTestCases(t, cs.Crypto.ContractMD, "crypto", []nativeTestCase{
|
runNativeTestCases(t, cs.Crypto.ContractMD, "crypto", []nativeTestCase{
|
||||||
{"sha256", []string{"[]byte{1, 2, 3}"}},
|
{"sha256", []string{"[]byte{1, 2, 3}"}},
|
||||||
{"ripemd160", []string{"[]byte{1, 2, 3}"}},
|
{"ripemd160", []string{"[]byte{1, 2, 3}"}},
|
||||||
|
{"murmur32", []string{"[]byte{1, 2, 3}", "123"}},
|
||||||
{"verifyWithECDsa", []string{"[]byte{1, 2, 3}", pub, sig, "crypto.Secp256k1"}},
|
{"verifyWithECDsa", []string{"[]byte{1, 2, 3}", pub, sig, "crypto.Secp256k1"}},
|
||||||
})
|
})
|
||||||
runNativeTestCases(t, cs.Std.ContractMD, "std", []nativeTestCase{
|
runNativeTestCases(t, cs.Std.ContractMD, "std", []nativeTestCase{
|
||||||
|
|
Loading…
Reference in a new issue