Skip to content

Commit

Permalink
Fixing naming, thanks @blishko
Browse files Browse the repository at this point in the history
  • Loading branch information
msooseth committed Feb 12, 2025
1 parent 72c1681 commit b035e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,14 @@ tests = testGroup "hevm"
let e = BufLength (CopySlice (Lit 0x2) (Lit 0x2) (Lit 0x1) (ConcreteBuf "") (ConcreteBuf ""))
b <- checkEquiv e (Expr.simplify e)
assertBoolM "Simplifier failed" b
, test "simp-readByte" $ do
, test "simp-readByte1" $ do
let srcOffset = (ReadWord (Lit 0x1) (AbstractBuf "stuff1"))
size = (ReadWord (Lit 0x1) (AbstractBuf "stuff2"))
src = (AbstractBuf "stuff2")
e = ReadByte (Lit 0x0) (CopySlice srcOffset (Lit 0x10) size src (AbstractBuf "dst"))
simp = Expr.simplify e
assertEqualM "readByte simplification" simp (ReadByte (Lit 0x0) (AbstractBuf "dst"))
, test "simp-readByte" $ do
, test "simp-readByte2" $ do
let srcOffset = (ReadWord (Lit 0x1) (AbstractBuf "stuff1"))
size =(Lit 0x1)
src = (AbstractBuf "stuff2")
Expand Down

0 comments on commit b035e6e

Please sign in to comment.