Update edge_detector_test.rb
This commit is contained in:
parent
42fb9be4ef
commit
b8599dc48a
@ -2,7 +2,6 @@ require 'test_helper'
|
|||||||
|
|
||||||
class EdgeDetectorTest < Minitest::Test
|
class EdgeDetectorTest < Minitest::Test
|
||||||
|
|
||||||
|
|
||||||
def test_airplane
|
def test_airplane
|
||||||
input = File.expand_path('../../pictures/airplane.png', __FILE__)
|
input = File.expand_path('../../pictures/airplane.png', __FILE__)
|
||||||
image = ChunkyPNG::Image.from_file(input)
|
image = ChunkyPNG::Image.from_file(input)
|
||||||
@ -31,7 +30,7 @@ class EdgeDetectorTest < Minitest::Test
|
|||||||
sobel.detect_edges.save(output_sobel)
|
sobel.detect_edges.save(output_sobel)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_robot
|
def test_asics
|
||||||
input = File.expand_path('../../pictures/asics.png', __FILE__)
|
input = File.expand_path('../../pictures/asics.png', __FILE__)
|
||||||
image = ChunkyPNG::Image.from_file(input)
|
image = ChunkyPNG::Image.from_file(input)
|
||||||
|
|
||||||
@ -44,4 +43,4 @@ class EdgeDetectorTest < Minitest::Test
|
|||||||
standard.detect_edges.save(output_standard)
|
standard.detect_edges.save(output_standard)
|
||||||
sobel.detect_edges.save(output_sobel)
|
sobel.detect_edges.save(output_sobel)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user