@@ -18,33 +18,33 @@ class OpticsSuite extends CirceSuite {
1818 (x.isNaN && y.isNaN) || x == y
1919 }
2020
21- checkLaws (" Json to Unit" , LawsTests .prismTests(jsonNull))
22- checkLaws (" Json to Boolean" , LawsTests .prismTests(jsonBoolean))
23- checkLaws (" Json to BigDecimal" , LawsTests .prismTests(jsonBigDecimal))
24- checkLaws (" Json to Double" , LawsTests .prismTests(jsonDouble))
25- checkLaws (" Json to BigInt" , LawsTests .prismTests(jsonBigInt))
26- checkLaws (" Json to Long" , LawsTests .prismTests(jsonLong))
27- checkLaws (" Json to Int" , LawsTests .prismTests(jsonInt))
28- checkLaws (" Json to Short" , LawsTests .prismTests(jsonShort))
29- checkLaws (" Json to Byte" , LawsTests .prismTests(jsonByte))
30- checkLaws (" Json to String" , LawsTests .prismTests(jsonString))
31- checkLaws (" Json to JsonNumber" , LawsTests .prismTests(jsonNumber))
32- checkLaws (" Json to JsonObject" , LawsTests .prismTests(jsonObject))
33- checkLaws (" Json to Vector[Json]" , LawsTests .prismTests(jsonArray))
34-
35- checkLaws (" JsonNumber to BigDecimal" , LawsTests .prismTests(jsonNumberBigDecimal))
36- checkLaws (" JsonNumber to BigInt" , LawsTests .prismTests(jsonNumberBigInt))
37- checkLaws (" JsonNumber to Long" , LawsTests .prismTests(jsonNumberLong))
38- checkLaws (" JsonNumber to Int" , LawsTests .prismTests(jsonNumberInt))
39- checkLaws (" JsonNumber to Short" , LawsTests .prismTests(jsonNumberShort))
40- checkLaws (" JsonNumber to Byte" , LawsTests .prismTests(jsonNumberByte))
41-
42- checkLaws (" plated Json" , LawsTests .traversalTests(plate[Json ]))
43-
44- checkLaws (" jsonObjectEach" , LawsTests .eachTests[JsonObject , Json ])
45- checkLaws (" jsonObjectAt" , LawsTests .atTests[JsonObject , String , Option [Json ]])
46- checkLaws (" jsonObjectIndex" , LawsTests .indexTests[JsonObject , String , Json ])
47- checkLaws (" jsonObjectFilterIndex" , LawsTests .filterIndexTests[JsonObject , String , Json ])
21+ checkAll (" Json to Unit" , LawsTests .prismTests(jsonNull))
22+ checkAll (" Json to Boolean" , LawsTests .prismTests(jsonBoolean))
23+ checkAll (" Json to BigDecimal" , LawsTests .prismTests(jsonBigDecimal))
24+ checkAll (" Json to Double" , LawsTests .prismTests(jsonDouble))
25+ checkAll (" Json to BigInt" , LawsTests .prismTests(jsonBigInt))
26+ checkAll (" Json to Long" , LawsTests .prismTests(jsonLong))
27+ checkAll (" Json to Int" , LawsTests .prismTests(jsonInt))
28+ checkAll (" Json to Short" , LawsTests .prismTests(jsonShort))
29+ checkAll (" Json to Byte" , LawsTests .prismTests(jsonByte))
30+ checkAll (" Json to String" , LawsTests .prismTests(jsonString))
31+ checkAll (" Json to JsonNumber" , LawsTests .prismTests(jsonNumber))
32+ checkAll (" Json to JsonObject" , LawsTests .prismTests(jsonObject))
33+ checkAll (" Json to Vector[Json]" , LawsTests .prismTests(jsonArray))
34+
35+ checkAll (" JsonNumber to BigDecimal" , LawsTests .prismTests(jsonNumberBigDecimal))
36+ checkAll (" JsonNumber to BigInt" , LawsTests .prismTests(jsonNumberBigInt))
37+ checkAll (" JsonNumber to Long" , LawsTests .prismTests(jsonNumberLong))
38+ checkAll (" JsonNumber to Int" , LawsTests .prismTests(jsonNumberInt))
39+ checkAll (" JsonNumber to Short" , LawsTests .prismTests(jsonNumberShort))
40+ checkAll (" JsonNumber to Byte" , LawsTests .prismTests(jsonNumberByte))
41+
42+ checkAll (" plated Json" , LawsTests .traversalTests(plate[Json ]))
43+
44+ checkAll (" jsonObjectEach" , LawsTests .eachTests[JsonObject , Json ])
45+ checkAll (" jsonObjectAt" , LawsTests .atTests[JsonObject , String , Option [Json ]])
46+ checkAll (" jsonObjectIndex" , LawsTests .indexTests[JsonObject , String , Json ])
47+ checkAll (" jsonObjectFilterIndex" , LawsTests .filterIndexTests[JsonObject , String , Json ])
4848
4949 " jsonDouble" should " round-trip in reverse with Double.NaN" in {
5050 assert(jsonDouble.getOption(jsonDouble.reverseGet(Double .NaN )) === Some (Double .NaN ))
0 commit comments