Skip to content

Commit

Permalink
Fix overlapping tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-panda committed Mar 13, 2010
1 parent 20709fa commit b06a98b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/image_test.rb
Expand Up @@ -126,14 +126,14 @@ def test_resampled
assert(imgA == imgB)
end

def test_resampled
def test_polar_transform
imgA = GD2::Image.import(File.join(PATH_TO_IMAGES, 'test.gd2')).polar_transform!(100)
imgB = GD2::Image.import(File.join(PATH_TO_IMAGES, 'test_polar_transform.gd2'))

assert(imgA == imgB)
end

def test_resampled
def test_color_sharpened
imgA = GD2::Image.import(File.join(PATH_TO_IMAGES, 'test_color.gd2')).sharpen(100)
imgB = GD2::Image.import(File.join(PATH_TO_IMAGES, 'test_color_sharpened.gd2'))

Expand Down

0 comments on commit b06a98b

Please sign in to comment.