瀏覽代碼

* Add test for import/export of area

tags/v0.99.beta17
Pascal Terjan pterjan 15 年之前
父節點
當前提交
f15ac0c5be
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      ruby/t/tc_canvas.rb

+ 2
- 0
ruby/t/tc_canvas.rb 查看文件

@@ -28,6 +28,8 @@ class TC_Canvas < Test::Unit::TestCase
def test_import
@c.import_from_memory("foo", "")
assert_equal("foo\r\n", @c.export_to_memory("irc"), "Import/Export failed")
@c.import_area_from_memory(0, 0, "p", "")
assert_equal("poo\r\n", @c.export_area_to_memory(0, 0, 3, 1, "irc"), "Import/Export of area failed")
end
def test_cursor
@c.gotoxy(1,1)


Loading…
取消
儲存