Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed tests for blit

  • Loading branch information...
commit 0b79cf0b33ca81bdc79ac62d1377eebc3b7469bc 1 parent e7a22f5
@ojii authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 pymaging/tests/test_basic.py
View
8 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],
Please sign in to comment.
Something went wrong with that request. Please try again.