Add more tests for getters

This commit is contained in:
Alex Beregszaszi
2020-11-24 22:37:42 +00:00
parent ae34fba49b
commit 53b635a21f
3 changed files with 49 additions and 20 deletions
@@ -0,0 +1,14 @@
contract C {
string public a;
string public b;
bytes public c;
constructor() {
a = "hello world";
b = hex"41424344";
c = hex"ff077fff";
}
}
// ----
// a() -> 0x20, 11, "hello world"
// b() -> 0x20, 4, "ABCD"
// c() -> 0x20, 4, -439061522557375173052089223601630338202760422010735733633791622124826263552