aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/logger_test.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2019-04-04 17:19:38 +0800
committerGitHub <noreply@github.com>2019-04-04 17:19:38 +0800
commit36b78abe612ccaca26837a1f8c52bc43ad96ee53 (patch)
treecef59d2b40b49e0211eb00149fe9ae9d5abd7f4c /core/vm/logger_test.go
parent5164274872a4b3cca2c2f0ce77ae44c39c663402 (diff)
downloadgo-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.tar
go-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.tar.gz
go-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.tar.bz2
go-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.tar.lz
go-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.tar.xz
go-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.tar.zst
go-tangerine-36b78abe612ccaca26837a1f8c52bc43ad96ee53.zip
core/vm: instruction tests (#16327)
This PR makes it easy to generate and execute testcases for VM arithmetic operations. By enabling and running the testcase TestWriteExpectedValues, a set of json files are created which contain input and output for each arith operation. The test TestJsonTestcases executes all of those tests. While meaningless as is, this PR makes it less risky to make changes (optimizations) to the vm operations, since there will be a larger body of testcases.
Diffstat (limited to 'core/vm/logger_test.go')
0 files changed, 0 insertions, 0 deletions