ohua-dev/ir-transformation-workspace

Tests are confusing

Closed this issue · 1 comments

The test assertions are not resolved as expected

  22   │   (is 
  23 ~ │     (= 3 
  24   │       (<-ohua
  25   │         (inc (inc (int 2)))
  26   │         :compile-with-config {:df-transformations [replace-transform]})))
  27   │   (is 
  28   │     (= 
  29   │       (<-ohua
  30   │         (dec (dec (int 2))))
  31   │       (<-ohua
  32   │         (inc (inc (int 2)))
  33   │         :compile-with-config {:df-transformations [replace-transform]}))))

both assertions in line 27 and line 22 are expected to fail but do not. When changing the numbers they actually fail.

compiler runs that are applied cause this..