示例#1
0
	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
	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)