Ejemplo n.º 1
0
 def testHideCells_is_equal_to_42_when_the_dificult_level_is_High(self):
     input_matrix=MatrixHandler([])
     input_matrix.generator("High")
     actual_result =input_matrix.countZeroQuantity()
     self.assertTrue(actual_result>=42)
Ejemplo n.º 2
0
 def testHideCells_is_equal_to_42_when_the_dificult_level_is_High(self):
     input_matrix=MatrixHandler([])
     input_matrix.generator("High")
     actual_result =input_matrix.zero_count(input_matrix.first_matrix) 
     self.assertTrue(actual_result==42)
Ejemplo n.º 3
0
 def testHideCells_is_equal_to_39_when_the_dificult_level_is_Medium(self):
     input_matrix=MatrixHandler([])
     input_matrix.generator("Medium")
     actual_result=input_matrix.countZeroQuantity()
     self.assertTrue(actual_result>=36 and actual_result<=39)
Ejemplo n.º 4
0
 def testHideCells_is_equal_to_35_when_the_dificult_level_is_Other(self):
     input_matrix=MatrixHandler([])
     input_matrix.generator("Other")
     inp=input_matrix.first_matrix
     actual_result= input_matrix.zero_count(inp)
     self.assertTrue(actual_result==35)