🐛 Fixes tests

This commit is contained in:
alonso.torres 2021-12-27 16:45:41 +01:00
parent 60af960f42
commit c28a2acfc7
3 changed files with 25 additions and 19 deletions

View file

@ -181,9 +181,11 @@
shape-before (-> (create-test-shape type {:modifiers modifiers})
(assoc :selrect selrect))
shape-after (gsh/transform-shape shape-before {:round-coords? false})]
(= (:selrect shape-before) (:selrect shape-after)))
:rect {:x 0 :y 0 :width ##Inf :height ##Inf}
:path {:x 0 :y 0 :width ##Inf :height ##Inf}
(= (:selrect shape-before)
(:selrect shape-after)))
:rect {:x 0 :y 0 :x1 0 :y1 0 :x2 ##Inf :y2 ##Inf :width ##Inf :height ##Inf}
:path {:x 0 :y 0 :x1 0 :y1 0 :x2 ##Inf :y2 ##Inf :width ##Inf :height ##Inf}
:rect nil
:path nil)))