Permalink
Browse files

fixed tests for blit

  • Loading branch information...
1 parent e7a22f5 commit 0b79cf0b33ca81bdc79ac62d1377eebc3b7469bc @ojii committed Sep 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 pymaging/tests/test_basic.py
@@ -210,7 +210,7 @@ def test_draw_line_steep(self):
[Black, White, Black, Black, Black],
])
- def test_merge_simple(self):
+ def test_blit_simple(self):
main = image_factory([
[Black, Black, Black, Black, Black],
[Black, Black, Black, Black, Black],
@@ -223,7 +223,7 @@ def test_merge_simple(self):
[White, White, White],
[White, White, White],
])
- main.merge(1, 1, other)
+ main.blit(1, 1, other)
self.assertImage(main, [
[Black, Black, Black, Black, Black],
[Black, White, White, White, Black],
@@ -232,7 +232,7 @@ def test_merge_simple(self):
[Black, Black, Black, Black, Black],
])
- def test_merge_partial(self):
+ def test_blit_partial(self):
main = image_factory([
[Black, Black, Black, Black, Black],
[Black, Black, Black, Black, Black],
@@ -245,7 +245,7 @@ def test_merge_partial(self):
[White, White, White],
[White, White, White],
])
- main.merge(3, 3, other)
+ main.blit(3, 3, other)
self.assertImage(main, [
[Black, Black, Black, Black, Black],
[Black, Black, Black, Black, Black],

0 comments on commit 0b79cf0

Please sign in to comment.