Skip to content

Commit

Permalink
changed to [15 3]
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Zheng committed Feb 10, 2018
1 parent 4107901 commit 08b779a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
]
:profiles {:dev {:dependencies [[zcaudate/hara.test "2.8.1"]]
:plugins [[lein-virgil "0.1.7"]]
:jvm-opts ["--illegal-access=permit"]
:injections [(use 'hara.reflect)]}}
:aliases {"test" ["run" "-m" "hara.test" "exit"]}
:java-source-paths ["source/java"]
Expand Down
8 changes: 4 additions & 4 deletions test/clojure/image_bench/sobel_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@


;; FAILS
(fact "running a grayscale kernel at [345, 912] [13, 3]"
(fact "running a grayscale kernel at [345, 912] [15, 3]"

(def img (img/load-image "resources/lena-0345x0912.jpg"))

(gray/grayscale img [13 3])
(gray/grayscale img [15 3])
=> java.awt.image.BufferedImage)

;; PASSES
Expand All @@ -32,9 +32,9 @@


;; FAILS
(fact "running a sobel kernel at [345, 912] [13, 3]"
(fact "running a sobel kernel at [345, 912] [15, 3]"

(def img (img/load-image "resources/lena-0345x0912.jpg"))

(sobel/sobel-invalid-work-group-error img [13 3])
(sobel/sobel-invalid-work-group-error img [15 3])
=> java.awt.image.BufferedImage)

0 comments on commit 08b779a

Please sign in to comment.