def test_incorrectTotalEntropy(self):
     assert algorithm.calculateEntropy(10, 100, 0) == 0, "Should be 0"
 def test_incorrectFirstAndSecondEntropy(self):
     assert algorithm.calculateEntropy(-110, -1100, 100) == 0, "Should be 0"
 def test_correctEntropy(self):
     assert algorithm.calculateEntropy(
         10, 100, 200) == 0.7160964047443681, "Should be 0.7160964047443681"
 def test_incorrectSecondEntropy(self):
     assert algorithm.calculateEntropy(-100, 100,
                                       200) == 0.5, "Should be 0.5"