예제 #1
0
파일: test.py 프로젝트: Bakytzhann/game2048
	def test_4(self):
		a = [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
		mas = [
			[1, 1, 1, 1],
			[0, 0, 0, 0],
			[0, 0, 0, 0],
			[0, 0, 0, 0],		
		] 
		self.assertEqual(get_empty_list(mas), a)
예제 #2
0
파일: test.py 프로젝트: Bakytzhann/game2048
	def test_5(self):
		a = []
		mas = [
			[1, 1, 1, 1],
			[1, 1, 1, 1],
			[1, 1, 1, 1],
			[1, 1, 1, 1],		
		]
		self.assertEqual(get_empty_list(mas), a)
예제 #3
0
 def test_3(self):
     a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
     mas = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
     self.assertEqual(get_empty_list(mas), a)