예제 #1
0
파일: test.py 프로젝트: Bakytzhann/game2048
	def test_9(self):
		mas = [
			[1, 1, 1, 1],
			[1, 1, 1, 1],
			[1, 1, 1, 1],
			[1, 1, 1, 1],		
		]
		self.assertEqual(is_zero_in_mas(mas), False)
예제 #2
0
파일: test.py 프로젝트: Bakytzhann/game2048
	def test_11(self):
		mas = [
			[0, 1, 0, 1],
			[1, 1, 1, 1],
			[1, 1, 0, 1],
			[1, 0, 1, 1],		
		]
		self.assertEqual(is_zero_in_mas(mas), True)
예제 #3
0
파일: tests.py 프로젝트: verchyk91/2048
 def test_10(self):
     a = []
     mas = [
         [1, 1, 1, 1],
         [1, 0, 1, 1],
         [1, 1, 1, 1],
         [1, 1, 1, 1],
     ]
     self.assertEqual(is_zero_in_mas(mas), True)