Skip to content

Commit

Permalink
ajust expected test outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
javra committed Dec 16, 2024
1 parent 0ff6402 commit 04ea70e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/lean/bitvec_operation.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

def bitvector_eq (x : BitVec 16) (y : BitVec 16) : Bool :=
(Eq x y)
Expand Down
2 changes: 1 addition & 1 deletion test/lean/enum.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

inductive E where | A | B | C
deriving Inhabited
Expand Down
2 changes: 1 addition & 1 deletion test/lean/extern.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

def extern_add : Int :=
(Int.add 5 4)
Expand Down
2 changes: 1 addition & 1 deletion test/lean/let.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

def foo : BitVec 16 :=
let z := (HOr.hOr (0xFFFF : BitVec 16) (0xABCD : BitVec 16))
Expand Down
3 changes: 2 additions & 1 deletion test/lean/struct.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import My_Project.Sail.sail
import MyProject.Sail.Sail

structure My_struct where
field1 : Int
Expand All @@ -10,3 +10,4 @@ def undefined_My_struct (lit : Unit) : My_struct :=

def initialize_registers : Unit :=
()

2 changes: 1 addition & 1 deletion test/lean/trivial.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

def foo (y : Unit) : Unit :=
y
Expand Down
2 changes: 1 addition & 1 deletion test/lean/tuples.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

def tuple1 : (Int × Int × (BitVec 2 × Unit)) :=
(3, 5, ((0b10 : BitVec 2), ()))
Expand Down
2 changes: 1 addition & 1 deletion test/lean/typquant.expected.lean
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sail.sail
import MyProject.Sail.Sail

def foo (n : Int) : BitVec 4 :=
(0xF : BitVec 4)
Expand Down

0 comments on commit 04ea70e

Please sign in to comment.