test/test_modify.rb in free-image-0.7.1 vs test/test_modify.rb in free-image-0.8.0
- old
+ new
@@ -1,9 +1,8 @@
# encoding: UTF-8
require File.join(File.dirname(__FILE__),'test_helper')
-require 'test/unit'
-class ModifyTest < Test::Unit::TestCase
+class ModifyTest < Minitest::Test
def test_copy
bitmap1 = FreeImage::Bitmap.open(image_path('sample.png'))
bitmap2 = bitmap1.copy(0, 0, 50, 60)
assert_kind_of(FreeImage::Bitmap, bitmap2)
\ No newline at end of file