def test_byenergy_case2(self):
    self._test_imp([0, 0.1, 2], [2, 3], [0.1, 0.25, 0.5, 0.75, 0.9], [0.23684210526315788, 0.39473684210526316, 0.39473684210526305, 0.23684210526315788], almost=True)
def test_byenergy_case2(self):
    self._test_imp([0, 0.1, 2], [2, 3], [0.1, 0.25, 0.5, 0.75, 0.9], [0.23684210526315788, 0.39473684210526316, 0.39473684210526305, 0.23684210526315788], almost=True)