예제 #1
0
파일: test.py 프로젝트: loentar/texpack
 def test_minsize_custom(self):
     texpack.main("test/test_minsize_custom_", "test-sprites", "--min-size=4096")
예제 #2
0
파일: test.py 프로젝트: loentar/texpack
 def test_layout_stack(self):
     texpack.main("test/test_layout_stack_", "test-sprites", "--layout=stack")
예제 #3
0
파일: test.py 프로젝트: loentar/texpack
 def test_layout_skyline(self):
     texpack.main("test/test_layout_skyline_", "test-sprites", "--layout=skyline")
예제 #4
0
파일: test.py 프로젝트: loentar/texpack
 def test_sort_area(self):
     texpack.main("test/test_sort_area_", "test-sprites", "--sort=area")
예제 #5
0
파일: test.py 프로젝트: loentar/texpack
 def test_layout_default(self):
     with self.assertRaises(SystemExit): # "expected argument"
         texpack.main("test/test_layout_default_", "test-sprites", "--layout")
예제 #6
0
파일: test.py 프로젝트: loentar/texpack
 def test_pad_default(self):
     texpack.main("test/test_pad_default_", "test-sprites", "--pad")
예제 #7
0
파일: test.py 프로젝트: loentar/texpack
 def test_sort_width(self):
     texpack.main("test/test_sort_width_", "test-sprites", "--sort=width")
예제 #8
0
파일: test.py 프로젝트: loentar/texpack
 def test_glob_gif(self):
     texpack.main("test/test_glob_gif_", "test-sprites/*.gif")
예제 #9
0
파일: test.py 프로젝트: loentar/texpack
 def test_glob_jpg(self):
     texpack.main("test/test_glob_jpg_", "test-sprites/*.jpg")
예제 #10
0
파일: test.py 프로젝트: loentar/texpack
 def test_compress(self):
     texpack.main("test/test_compress_", "test-sprites", "--compress")
예제 #11
0
파일: test.py 프로젝트: loentar/texpack
 def test_dirs(self):
     texpack.main("test/test_dirs_", "test-sprites")
예제 #12
0
파일: test.py 프로젝트: loentar/texpack
 def test_scale(self):
     texpack.main("test/test_scale_", "test-sprites", "--scale")
예제 #13
0
파일: test.py 프로젝트: loentar/texpack
 def test_maxsize_custom(self):
     texpack.main("test/test_maxsize_custom_", "test-sprites", "--max-size=1024")
예제 #14
0
파일: test.py 프로젝트: loentar/texpack
 def test_maxsize_default(self):
     with self.assertRaises(SystemExit): # "expected argument"
         texpack.main("test/test_maxsize_default_", "test-sprites", "--max-size")
예제 #15
0
파일: test.py 프로젝트: loentar/texpack
 def test_extrude_default(self):
     texpack.main("test/test_extrude_default_", "test-sprites", "--extrude")
예제 #16
0
파일: test.py 프로젝트: loentar/texpack
 def test_glob_noth_gif(self):
     texpack.main("test/test_glob_noth_gif_", "test-sprites/[!h]*.gif")
예제 #17
0
파일: test.py 프로젝트: loentar/texpack
 def test_extrude_custom(self):
     texpack.main("test/test_extrude_custom_", "test-sprites", "--extrude=4")
예제 #18
0
파일: test.py 프로젝트: loentar/texpack
 def test_mask_default(self):
     texpack.main("test/test_mask_default_", "test-sprites", "--mask")
예제 #19
0
파일: test.py 프로젝트: loentar/texpack
 def test_pad_custom(self):
     texpack.main("test/test_pad_custom_", "test-sprites", "--pad=4")
예제 #20
0
파일: test.py 프로젝트: loentar/texpack
 def test_mask_hexcode(self):
     texpack.main("test/test_mask_hexcode_", "test-sprites", "--mask=#fff")
예제 #21
0
파일: test.py 프로젝트: loentar/texpack
 def test_sort_height(self):
     texpack.main("test/test_sort_height_", "test-sprites", "--sort=height")
예제 #22
0
파일: test.py 프로젝트: loentar/texpack
 def test_mask_cssname(self):
     texpack.main("test/test_mask_cssname_", "test-sprites", "--mask=white")
예제 #23
0
파일: test.py 프로젝트: loentar/texpack
 def test_sort_name(self):
     texpack.main("test/test_sort_name_", "test-sprites", "--sort=name")
예제 #24
0
파일: test.py 프로젝트: loentar/texpack
 def test_trim(self):
     texpack.main("test/test_trim_", "test-sprites", "--trim")
예제 #25
0
파일: test.py 프로젝트: loentar/texpack
 def test_layout_shelf(self):
     texpack.main("test/test_layout_shelf_", "test-sprites", "--layout=shelf")
예제 #26
0
파일: test.py 프로젝트: loentar/texpack
 def test_alias_default(self):
     texpack.main("test/test_alias_default_", "test-sprites", "--alias")
예제 #27
0
파일: test.py 프로젝트: loentar/texpack
 def test_layout_maxrects(self):
     texpack.main("test/test_layout_maxrects_", "test-sprites", "--layout=max-rects")
예제 #28
0
파일: test.py 프로젝트: loentar/texpack
 def test_alias_custom(self):
     texpack.main("test/test_alias_custom_", "test-sprites", "--alias=0.5")
예제 #29
0
파일: test.py 프로젝트: loentar/texpack
 def test_rotate(self):
     texpack.main("test/test_rotate_", "test-sprites", "--rotate")
예제 #30
0
파일: test.py 프로젝트: loentar/texpack
 def test_square(self):
     texpack.main("test/test_square_", "test-sprites", "--square")