tests: Update test results for new Kindex organization

This commit is contained in:
Nicolas Abril 2023-05-10 11:07:57 +02:00
parent 69ea11eaa2
commit bec7490b0d
26 changed files with 79 additions and 79 deletions

View File

@ -1,6 +1,6 @@
INFO Inspection
* Hole: U60
* Hole: Data.U60
/--[suite/checker/Inspection.kind2:3:3]

View File

@ -1,13 +1,13 @@
INFO Inspection
* Hole: U60
* Hole: Data.U60
* Context
* awoo : Type
* awoo = U60
* uuuhuuul : (List awoo)
* uuuhuuul = (List.nil awoo)
* ooooooo : (List U60)
* awoo = Data.U60
* uuuhuuul : (Data.List awoo)
* uuuhuuul = (Data.List.nil awoo)
* ooooooo : (Data.List Data.U60)
* ooooooo = uuuhuuul
/--[suite/checker/Subst.kind2:11:5]

View File

@ -2,14 +2,14 @@
/--[suite/checker/derive/fail/RepeatedDef.kind2:2:5]
|
1 | type Nat {
1 | type Data.Nat {
2 | zero
| v---
| \The first ocorrence
3 | succ
:
6 | Nat.zero : U60
| v-------
6 | Data.Nat.zero : Data.U60
| v------------
| \Second occorrence here!
Hint: Rename one of the definitions or remove and look at how names work in Kind at https://github.com/Kindelia/Kind2/blob/master/guide/naming.md

View File

@ -1,7 +1,7 @@
ERROR Type mismatch
* Got : (Eq _ (U120.new 0 123) (U120.new 0 123))
* Expected : (Eq _ (U120.new 0 123) (U120.new 0 124))
* Got : (Eq _ (Data.U120.new 0 123) (Data.U120.new 0 123))
* Expected : (Eq _ (Data.U120.new 0 123) (Data.U120.new 0 124))
/--[suite/checker/derive/fail/WrongU120Eq.kind2:12:9]

View File

@ -1,14 +1,14 @@
ERROR Type mismatch
* Got : Type
* Expected : U60
* Expected : Data.U60
* Context
* a : U60
* a : Data.U60
/--[suite/checker/fail/MismatchTwo.kind2:2:10]
|
1 | Main (a: U60): U60
1 | Main (a: Data.U60): Data.U60
2 | Main a = Type
| v---
| \Here!

View File

@ -2,7 +2,7 @@
/--[suite/checker/fail/Unbound.kind2:2:7]
|
1 | Tew : U60
1 | Tew : Data.U60
2 | Tew = owo
| v--
| \Here!

View File

@ -2,7 +2,7 @@
/--[suite/erasure/fail/ShouldErr.kind2:2:9]
|
1 | Kek <a: U60> : U60
1 | Kek <a: Data.U60> : Data.U60
2 | Kek a = a
| v
| \It's in relevant position!

View File

@ -1,2 +1,2 @@
(Maybe.some _ 1009)
(Data.Maybe.some _ 1009)

View File

@ -1,2 +1,2 @@
(Teste (List.nil _))
(Teste (Data.List.nil _))

View File

@ -1,15 +1,15 @@
INFO Inspection
* Hole: (Assert (Nat.count_layers n 1))
* Hole: (Assert (Data.Nat.count_layers n 1))
* Context
* n : Nat
* n : Data.Nat
/--[suite/issues/checker/HvmReducesTooMuch.kind2:14:29]
/--[suite/issues/checker/HvmReducesTooMuch.kind2:14:34]
|
13 | Beq_nat_refl (n: Nat) : Assert (Nat.count_layers n 0)
14 | Beq_nat_refl (Nat.succ n) = ?
| v
| \Here!
13 | Beq_nat_refl (n: Data.Nat) : Assert (Data.Nat.count_layers n 0)
14 | Beq_nat_refl (Data.Nat.succ n) = ?
| v
| \Here!

View File

@ -1,15 +1,15 @@
INFO Inspection
* Hole: U60
* Hole: Data.U60
* Context
* n : (Pair U60 U60)
* n.fst : U60
* n.snd : U60
* n : (Data.Pair Data.U60 Data.U60)
* n.fst : Data.U60
* n.snd : Data.U60
/--[suite/issues/checker/ISSUE-457.kind2:10:16]
|
9 | match Pair n {
9 | match Data.Pair n {
10 | new => ?
| v
| \Here!
@ -18,16 +18,16 @@
INFO Inspection
* Hole: U60
* Hole: Data.U60
* Context
* n : (Pair U60 U60)
* n.fst : U60
* n.snd : U60
* n : (Data.Pair Data.U60 Data.U60)
* n.fst : Data.U60
* n.snd : Data.U60
/--[suite/issues/checker/ISSUE-457.kind2:17:5]
|
16 | open Pair n
16 | open Data.Pair n
17 | ?
| v
| \Here!
@ -36,16 +36,16 @@
INFO Inspection
* Hole: U60
* Hole: Data.U60
* Context
* n : (Pair U60 U60)
* fst : U60
* snd : U60
* n : (Data.Pair Data.U60 Data.U60)
* fst : Data.U60
* snd : Data.U60
/--[suite/issues/checker/ISSUE-457.kind2:22:5]
|
21 | let Pair.new fst snd = n
21 | let Data.Pair.new fst snd = n
22 | ?
| v
| \Here!

View File

@ -1,13 +1,13 @@
INFO Inspection
* Hole: U60
* Hole: Data.U60
* Context
* awoo : Type
* awoo = U60
* uuuhuuul : (List awoo)
* uuuhuuul = (List.nil awoo)
* ooooooo : (List U60)
* awoo = Data.U60
* uuuhuuul : (Data.List awoo)
* uuuhuuul = (Data.List.nil awoo)
* ooooooo : (Data.List Data.U60)
* ooooooo = uuuhuuul
/--[suite/issues/checker/ISSUE-461.kind2:11:5]

View File

@ -3,8 +3,8 @@
/--[suite/issues/checker/MatchDerivationWithAll.kind2:3:10]
|
2 | type WithCtx (a: Type) {
3 | new: U60 -> (WithCtx a)
| v-----------------
3 | new: Data.U60 -> (WithCtx a)
| v----------------------
| \Here!
4 | }
@ -18,8 +18,8 @@
| v------
| \This is the type that should be used instead
:
3 | new: U60 -> (WithCtx a)
| v-----------------
3 | new: Data.U60 -> (WithCtx a)
| v----------------------
| \This is not the type that is being declared
4 | }

View File

@ -1,19 +1,19 @@
ERROR Type mismatch
* Got : (Run n)
* Expected : U60
* Expected : Data.U60
* Context
* t1 : Type
* n : Nat
* n : Data.Nat
* f : (Run n)
/--[suite/issues/checker/TestWith.kind2:14:22]
/--[suite/issues/checker/TestWith.kind2:14:27]
|
13 | Lero t1 n f =
14 | match Nat n with f {
| v
| \Here!
14 | match Data.Nat n with f {
| v
| \Here!
15 | succ => (+ f 2)

View File

@ -5,7 +5,7 @@
/--[suite/issues/checker/U60ToNatDoesNotReduce.kind2:30:17]
|
29 | Test_anon_fun : (Equal (Nat.succ (Nat.succ (Nat.zero))) (U60.to_nat 5))
29 | Test_anon_fun : (Equal (Data.Nat.succ (Data.Nat.succ (Data.Nat.zero))) (Data.U60.to_nat 5))
30 | Test_anon_fun = ?
| v
| \Here!

View File

@ -1,13 +1,13 @@
WARN This function does not cover all the possibilities!
* Missing case : (String.cons _ _)
* Missing case : (Data.String.cons _ _)
/--[suite/issues/coverage/ISSUE-463.kind2:8:1]
|
7 |
8 | Bits.from_hex (x: String) : U60
8 | Bits.from_hex (x: Data.String) : Data.U60
| v------------
| \Here!
9 | Bits.from_hex (String.cons '0' xs) = 2
9 | Bits.from_hex (Data.String.cons '0' xs) = 2

View File

@ -1,13 +1,13 @@
WARN This function does not cover all the possibilities!
* Missing case : Bool.false Bool.true
* Missing case : Data.Bool.false Data.Bool.true
/--[suite/issues/coverage/IncompleteBool.kind2:6:1]
|
5 |
6 | Or (b: Bool) (bo: Bool) : Bool
6 | Or (b: Data.Bool) (bo: Data.Bool) : Data.Bool
| v-
| \Here!
7 | Or Bool.true _ = Bool.true
7 | Or Data.Bool.true _ = Data.Bool.true

View File

@ -1,3 +1,3 @@
ctr {Ata}
ctr {Kek}
ctr {Bee}
ctr {Ata}

View File

@ -1,17 +1,17 @@
ctr {String.nil}
ctr {Pair.new fst snd}
ctr {String.cons head tail}
ctr {USaeFJLF9ugE head tail}
ctr {elNhOG2o_j4N fst snd}
ctr {QfIbR9TgcoZc}
fun (Test n) {
(Test ~) = (!@x1 (!@x1.0 (Pair.match x1.0 @x2 (!@x2.0 @~ (String.match x2.0 #1 @~ @~ #2) x2)) x1) {Pair.new {String.cons #84 {String.cons #101 {String.cons #115 {String.cons #116 {String.cons #101 {String.nil}}}}}} #0})
(Test ~) = (!@x1 (!@x1.0 (T0Fu9pW_avGi x1.0 @x2 (!@x2.0 @~ (xNjG8UGUAGaO x2.0 #1 @~ @~ #2) x2)) x1) {elNhOG2o_j4N {USaeFJLF9ugE #84 {USaeFJLF9ugE #101 {USaeFJLF9ugE #115 {USaeFJLF9ugE #116 {USaeFJLF9ugE #101 {QfIbR9TgcoZc}}}}}} #0})
}
fun (Pair.match scrutinee new_) {
(Pair.match {Pair.new x0 x1} x2) = (!@x2.0 (!@x1.0 (!@x0.0 (!(!x2.0 x0.0) x1.0) x0) x1) x2)
fun (T0Fu9pW_avGi scrutinee new_) {
(T0Fu9pW_avGi {elNhOG2o_j4N x0 x1} x2) = (!@x2.0 (!@x1.0 (!@x0.0 (!(!x2.0 x0.0) x1.0) x0) x1) x2)
}
fun (String.match scrutinee nil_ cons_) {
(String.match {String.nil} x0 ~) = (!@x0.0 x0.0 x0)
(String.match {String.cons x0 x1} ~ x3) = (!@x3.0 (!@x1.0 (!@x0.0 (!(!x3.0 x0.0) x1.0) x0) x1) x3)
fun (xNjG8UGUAGaO scrutinee nil_ cons_) {
(xNjG8UGUAGaO {QfIbR9TgcoZc} x0 ~) = (!@x0.0 x0.0 x0)
(xNjG8UGUAGaO {USaeFJLF9ugE x0 x1} ~ x3) = (!@x3.0 (!@x1.0 (!@x0.0 (!(!x3.0 x0.0) x1.0) x0) x1) x3)
}

View File

@ -1,10 +1,10 @@
ctr {List.cons h t}
ctr {zsfQr6_MzW7G h t}
fun (U120.new hi lo) {
(U120.new x0 x1) = (!@x1.0 (!@x0.0 (| (<< x0.0 #60) x1.0) x0) x1)
fun (9rVKCpdXApqm hi lo) {
(9rVKCpdXApqm x0 x1) = (!@x1.0 (!@x0.0 (| (<< x0.0 #60) x1.0) x0) x1)
}
fun (TestFunc xs) {
(TestFunc {List.cons ~ x1}) = (!@x1.0 (!@x2 dup c.0 x2.0 = x2; dup x2.1 x2.2 = c.0; (!@x3 (!@x3.0 (!@~ {List.cons {U120.add x2.0 x3.0} x1.0} #4) x3) {U120.add x2.1 x2.2}) #2) x1)
(TestFunc {zsfQr6_MzW7G ~ x1}) = (!@x1.0 (!@x2 dup c.0 x2.0 = x2; dup x2.1 x2.2 = c.0; (!@x3 (!@x3.0 (!@~ {zsfQr6_MzW7G {w4Xd4rma6YBa x2.0 x3.0} x1.0} #4) x3) {w4Xd4rma6YBa x2.1 x2.2}) #2) x1)
}

View File

@ -3,8 +3,8 @@
/--[suite/kdl/NonInlineState.kind2:7:1]
|
6 |
7 | MyFn.state : U60
| v---------------
7 | MyFn.state : Data.U60
| v--------------------
| \Here!

View File

@ -1 +1 @@
(Maybe.some 1009)
(Data.Maybe.some 1009)