test/test_information.rb in free-image-0.7.1 vs test/test_information.rb in free-image-0.8.0

- old
+ new

@@ -1,11 +1,9 @@ # encoding: UTF-8 - require File.join(File.dirname(__FILE__),'test_helper') -require 'test/unit' -class InformationTest < Test::Unit::TestCase +class InformationTest < Minitest::Test def test_background_color_16bit background_color = bit16_bmp.background_color assert_kind_of(FreeImage::RGBQuad, background_color) end @@ -43,9 +41,13 @@ assert_equal(:rgb, bit16_bmp(565).color_type) end def test_dib_size assert_equal(52664, sample_image.dib_size) + end + + def test_memory_size + assert_equal(54737, sample_image.memory_size) end def test_dots_per_meter_x assert_equal(2835, sample_image.dots_per_meter_x) end \ No newline at end of file