about summary refs log tree commit diff stats
path: root/test/expression/simplifications.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2019-01-16 15:10:22 +0100
committerGitHub <noreply@github.com>2019-01-16 15:10:22 +0100
commit28285a330da5fd586e31dceb152a35c6171698ba (patch)
treeb9f3649a1c0d0bacef142bfcf2b98310c89a5f70 /test/expression/simplifications.py
parent026069748a814259018ddc660e0a3d43cc0d681c (diff)
parente8a12bea1445afd764f4ef7075075a773fe84677 (diff)
downloadmiasm-28285a330da5fd586e31dceb152a35c6171698ba.tar.gz
miasm-28285a330da5fd586e31dceb152a35c6171698ba.zip
Merge pull request #942 from serpilliere/rename_idiv_sdiv
Rename idiv/imod into sdiv/smod
Diffstat (limited to 'test/expression/simplifications.py')
-rw-r--r--test/expression/simplifications.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py
index 4a093a98..5bca3fa9 100644
--- a/test/expression/simplifications.py
+++ b/test/expression/simplifications.py
@@ -401,9 +401,9 @@ to_test = [(ExprInt(1, 32) - ExprInt(1, 32), ExprInt(0, 32)),
     (expr_is_signed_greater(ExprInt(-10, 32), ExprInt(-5, 32)),
      ExprInt(0, 1)),
 
-    (ExprOp("idiv", ExprInt(0x0123, 16), ExprInt(0xfffb, 16))[:8],
+    (ExprOp("sdiv", ExprInt(0x0123, 16), ExprInt(0xfffb, 16))[:8],
      ExprInt(0xc6, 8)),
-    (ExprOp("imod", ExprInt(0x0123, 16), ExprInt(0xfffb, 16))[:8],
+    (ExprOp("smod", ExprInt(0x0123, 16), ExprInt(0xfffb, 16))[:8],
      ExprInt(0x01, 8)),
     (ExprOp("cnttrailzeros", ExprInt(0x2, 32)),
      ExprInt(0x1, 32)),