aboutsummaryrefslogtreecommitdiffstats
path: root/VMTests
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-08 22:14:20 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-08 22:14:20 +0800
commit73ba8a48ab7d0964db637b59fa21c27052666921 (patch)
tree1d296403949a5febe9a2bb4c6f62b92ce321ba5e /VMTests
parent1ad28d04947140ed53e3558bb2d6a97edcd899f8 (diff)
downloaddexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.tar
dexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.tar.gz
dexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.tar.bz2
dexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.tar.lz
dexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.tar.xz
dexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.tar.zst
dexon-tests-73ba8a48ab7d0964db637b59fa21c27052666921.zip
sdiv with negative fractional result
Diffstat (limited to 'VMTests')
-rw-r--r--VMTests/vmArithmeticTest.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/VMTests/vmArithmeticTest.json b/VMTests/vmArithmeticTest.json
index 9d7cac99f..663038f71 100644
--- a/VMTests/vmArithmeticTest.json
+++ b/VMTests/vmArithmeticTest.json
@@ -5768,6 +5768,51 @@
}
}
},
+ "sdiv4" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6004600003600505600055",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9694",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x6004600003600505600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x6004600003600505600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"sdivByZero0" : {
"callcreates" : [
],