def test_bad_algo(self):
     # 3d method to 2d problem
     self.assertRaises(
         ValueError, self.hv2d.exclusive, 0, [4, 4], hv_algorithm.hv3d())
 def test_bad_algo(self):
     # 3d method to 2d problem
     self.assertRaises(ValueError, self.hv2d.exclusive, 0, [4, 4],
                       hv_algorithm.hv3d())
 def test_bad_algo(self):
     self.assertRaises(
         ValueError, self.hv2d_0.least_contributor, [
             4, 4], hv_algorithm.hv3d())  # 3d method to 2d problem
 def test_bad_algo(self):
     self.assertRaises(ValueError, self.hv2d_0.least_contributor, [4, 4],
                       hv_algorithm.hv3d())  # 3d method to 2d problem