1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

fix indentation

This commit is contained in:
dark64 2021-09-20 18:30:03 +02:00
parent 7cc8279460
commit 302f561993
7 changed files with 88 additions and 88 deletions

View file

@ -1,22 +1,22 @@
{
"entry_point": "./tests/tests/assert_one.zok",
"curves": ["Bn128", "Bls12_381", "Bls12_377", "Bw6_761"],
"tests": [
{
"input": {
"values": ["0"]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"error": {
"Source": "Assertion failed at ./tests/tests/assert_one.zok:2:2"
}
}
}
}
}
]
"entry_point": "./tests/tests/assert_one.zok",
"curves": ["Bn128", "Bls12_381", "Bls12_377", "Bw6_761"],
"tests": [
{
"input": {
"values": ["0"]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"error": {
"Source": "Assertion failed at ./tests/tests/assert_one.zok:2:2"
}
}
}
}
}
]
}

View file

@ -1,7 +1,7 @@
{
"entry_point": "./tests/tests/panics/conditional_bound_throw.zok",
"curves": ["Bn128"],
"tests": [
"tests": [
{
"input": {
"values": [
@ -9,15 +9,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/conditional_bound_throw.zok:2:5"
}
}
}
}
}
}
},
{
@ -27,15 +27,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "1",
"right": "0",
"Err": {
"UnsatisfiedConstraint": {
"left": "1",
"right": "0",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/conditional_bound_throw.zok:2:5"
}
}
}
}
}
}
},
{
@ -45,15 +45,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "2",
"right": "0",
"Err": {
"UnsatisfiedConstraint": {
"left": "2",
"right": "0",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/conditional_bound_throw.zok:2:5"
}
}
}
}
}
}
}
]

View file

@ -1,7 +1,7 @@
{
"entry_point": "./tests/tests/panics/deep_branch.zok",
"curves": ["Bn128"],
"tests": [
"tests": [
{
"input": {
"values": [
@ -9,15 +9,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/deep_branch.zok:2:5"
}
}
}
}
}
}
}
]

View file

@ -1,7 +1,7 @@
{
"entry_point": "./tests/tests/panics/internal_panic.zok",
"curves": ["Bn128"],
"tests": [
"tests": [
{
"input": {
"values": [
@ -9,9 +9,9 @@
]
},
"output": {
"Ok": {
"values": ["1"]
}
"Ok": {
"values": ["1"]
}
}
},
{
@ -21,13 +21,13 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"error": "Inverse"
}
}
}
}
}
}
]

View file

@ -1,7 +1,7 @@
{
"entry_point": "./tests/tests/panics/loop_bound.zok",
"curves": ["Bn128", "Bls12_381", "Bls12_377", "Bw6_761"],
"tests": [
"tests": [
{
"input": {
"values": [
@ -9,15 +9,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"Err": {
"UnsatisfiedConstraint": {
"left": "0",
"right": "1",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/loop_bound.zok:2:3"
}
}
}
}
}
}
},
{
@ -27,9 +27,9 @@
]
},
"output": {
"Ok": {
"values": []
}
"Ok": {
"values": []
}
}
}
]

View file

@ -5,7 +5,7 @@
"isolate_branches": true
},
"curves": ["Bn128"],
"tests": [
"tests": [
{
"input": {
"values": [
@ -16,15 +16,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "1",
"right": "21888242871839275222246405745257275088548364400416034343698204186575808495577",
"Err": {
"UnsatisfiedConstraint": {
"left": "1",
"right": "21888242871839275222246405745257275088548364400416034343698204186575808495577",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/panic_isolation.zok:18:5"
}
}
}
}
}
}
},
{
@ -37,14 +37,14 @@
]
},
"output": {
"Ok": {
"values": [
"Ok": {
"values": [
"1",
"1",
"1",
"1"
]
}
]
}
}
},
{
@ -57,14 +57,14 @@
]
},
"output": {
"Ok": {
"values": [
"Ok": {
"values": [
"0",
"2",
"2",
"0"
]
}
]
}
}
}
]

View file

@ -5,7 +5,7 @@
"isolate_branches": false
},
"curves": ["Bn128"],
"tests": [
"tests": [
{
"input": {
"values": [
@ -16,15 +16,15 @@
]
},
"output": {
"Err": {
"UnsatisfiedConstraint": {
"left": "1",
"right": "0",
"Err": {
"UnsatisfiedConstraint": {
"left": "1",
"right": "0",
"error": {
"Source": "Assertion failed at ./tests/tests/panics/panic_isolation.zok:14:5"
}
}
}
}
}
}
}
]