def test_is_valid_coordinates_should_return_false_if_y_greater_n_cols(
         self):
     pmap = EarthMatrix([[]])
     pmap._n_rows = 5
     pmap._n_cols = 5
     self.assertFalse(pmap._is_valid_coordinates((0, 6)))
 def test_is_valid_coordinates_should_return_true_if_x_y_are_valid(self):
     pmap = EarthMatrix([[]])
     pmap._n_rows = 5
     pmap._n_cols = 5
     self.assertTrue(pmap._is_valid_coordinates((0, 0)))
 def test_is_valid_coordinates_should_return_false_if_x_equal_n_rows(self):
     pmap = EarthMatrix([[]])
     pmap._n_rows = 5
     pmap._n_cols = 5
     self.assertFalse(pmap._is_valid_coordinates((5, 0)))