Changeset 4128 for libcaca


Ignore:
Timestamp:
Dec 14, 2009, 7:05:39 PM (10 years ago)
Author:
Pascal Terjan
Message:
  • Add test for import/export of area
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/t/tc_canvas.rb

    r3587 r4128  
    2929        @c.import_from_memory("foo", "")
    3030        assert_equal("foo\r\n", @c.export_to_memory("irc"), "Import/Export failed")
     31        @c.import_area_from_memory(0, 0, "p", "")
     32        assert_equal("poo\r\n", @c.export_area_to_memory(0, 0, 3, 1, "irc"), "Import/Export of area failed")
    3133    end
    3234    def test_cursor
Note: See TracChangeset for help on using the changeset viewer.