diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-05 21:55:43 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-05 21:55:43 +0800 |
commit | 2096b3a9edb3289a8f30da81704181dec7b39917 (patch) | |
tree | 1a38e845f32ecfc94a73546ec4cfdb971b740830 /ethutil/parsing_test.go | |
parent | 6a86c517c4f4b372cad0ae1d92e926a482eac5ba (diff) | |
parent | fedd4c906ff9f6139cb2d88e4f1adefbf6ea81a6 (diff) | |
download | go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.tar go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.tar.gz go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.tar.bz2 go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.tar.lz go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.tar.xz go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.tar.zst go-tangerine-2096b3a9edb3289a8f30da81704181dec7b39917.zip |
Merge branch 'release/poc5-rc1'
Diffstat (limited to 'ethutil/parsing_test.go')
-rw-r--r-- | ethutil/parsing_test.go | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ethutil/parsing_test.go b/ethutil/parsing_test.go deleted file mode 100644 index 6b59777e6..000000000 --- a/ethutil/parsing_test.go +++ /dev/null @@ -1,32 +0,0 @@ -package ethutil - -/* -import ( - "math" - "testing" -) - -func TestCompile(t *testing.T) { - instr, err := CompileInstr("PUSH") - - if err != nil { - t.Error("Failed compiling instruction") - } - - calc := (48 + 0*256 + 0*int64(math.Pow(256, 2))) - if BigD(instr).Int64() != calc { - t.Error("Expected", calc, ", got:", instr) - } -} - -func TestValidInstr(t *testing.T) { - op, args, err := Instr("68163") - if err != nil { - t.Error("Error decoding instruction") - } - -} - -func TestInvalidInstr(t *testing.T) { -} -*/ |