Permalink
Browse files

Rebuild type spectest

  • Loading branch information...
1 parent 5c4121f commit 0ae61c5949a80883cb2f84db6ef6e207c0c3e321 Steven Haryanto (on Asus Zenbook) committed Feb 2, 2013
@@ -0,0 +1,89 @@
+{
+ "tests" : [
+ {
+ "input" : 3,
+ "name" : "of (nok + nok)",
+ "schema" : [
+ "all",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 0
+ },
+ {
+ "input" : 2,
+ "name" : "of (ok + nok)",
+ "schema" : [
+ "all",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 0
+ },
+ {
+ "input" : 5,
+ "name" : "of (nok + ok)",
+ "schema" : [
+ "all",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 0
+ },
+ {
+ "input" : 10,
+ "name" : "of (ok + ok)",
+ "schema" : [
+ "all",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 1
+ }
+ ],
+ "version" : "v0.9.24 (generated by devscripts/gen-type-spectest on Sat Feb 2 10:46:49 2013)"
+}
@@ -1,66 +0,0 @@
-tests:
- -
- input: 3
- name: of (nok + nok)
- schema:
- - all
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 0
- -
- input: 2
- name: of (ok + nok)
- schema:
- - all
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 0
- -
- input: 5
- name: of (nok + ok)
- schema:
- - all
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 0
- -
- input: 10
- name: of (ok + ok)
- schema:
- - all
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 1
-version: v0.9.23 (generated by devscripts/gen-type-spectest on Wed Jan 30 10:27:52 2013)
@@ -0,0 +1,89 @@
+{
+ "tests" : [
+ {
+ "input" : 3,
+ "name" : "of (nok + nok)",
+ "schema" : [
+ "any",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 0
+ },
+ {
+ "input" : 2,
+ "name" : "of (ok + nok)",
+ "schema" : [
+ "any",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 1
+ },
+ {
+ "input" : 5,
+ "name" : "of (nok + ok)",
+ "schema" : [
+ "any",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 1
+ },
+ {
+ "input" : 10,
+ "name" : "of (ok + ok)",
+ "schema" : [
+ "any",
+ "of",
+ [
+ [
+ "int",
+ "div_by",
+ 2
+ ],
+ [
+ "int",
+ "div_by",
+ 5
+ ]
+ ]
+ ],
+ "valid" : 1
+ }
+ ],
+ "version" : "v0.9.24 (generated by devscripts/gen-type-spectest on Sat Feb 2 10:46:49 2013)"
+}
@@ -1,66 +0,0 @@
-tests:
- -
- input: 3
- name: of (nok + nok)
- schema:
- - any
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 0
- -
- input: 2
- name: of (ok + nok)
- schema:
- - any
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 1
- -
- input: 5
- name: of (nok + ok)
- schema:
- - any
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 1
- -
- input: 10
- name: of (ok + ok)
- schema:
- - any
- - of
- -
- -
- - int
- - div_by
- - 2
- -
- - int
- - div_by
- - 5
- valid: 1
-version: v0.9.23 (generated by devscripts/gen-type-spectest on Wed Jan 30 10:27:52 2013)
Oops, something went wrong.

0 comments on commit 0ae61c5

Please sign in to comment.