def test(self, data = None):
        if data == None:
            data = self.testing_data
        #_logger.info("Running test.")
        correct = 0
        wrong = 0
        for label,feature in data:
            c,_ = self.classify(feature)
            if c == label:
                correct += 1
            else:
                wrong += 1
        print (correct,correct+wrong)%"Test: %d/%d"   
        return float(correct)/float(correct+wrong)
dataset/ETHPy150Open bolme/pyvision/src/pyvision/vector/id3.py/ID3.test/swapped operands of `%`