Sha256: 53260d0ec742e05ed4e197247723dee263d83b76dc61c89b528425985d808a36

Contents?: true

Size: 789 Bytes

Versions: 2

Compression:

Stored size: 789 Bytes

Contents

#####################################################################
# tc_gdi_bitmap.rb
#
# Test case for the Windows::GDI::Bitmap module.
#####################################################################
require 'windows/gdi/bitmap'
require 'minitest/autorun'

class TC_Windows_GDI_Bitmap < MiniTest::Test
   include Windows::GDI::Bitmap

   def test_methods
      assert_respond_to(self, :AlphaBlend)
      assert_respond_to(self, :BitBlt)
      assert_respond_to(self, :CreateBitmap)
      assert_respond_to(self, :CreateBitmapIndirect)
      assert_respond_to(self, :CreateCompatibleBitmap)
      assert_respond_to(self, :CreateDIBitmap)
   end

   def test_constants
      assert_equal(0, DIB_RGB_COLORS)
      assert_equal(1, DIB_PAL_COLORS)
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
windows-pr-1.2.6 test/tc_gdi_bitmap.rb
windows-pr-1.2.5 test/tc_gdi_bitmap.rb