def test_division(self):
    test_data = CsvReader('src/csv/TestDivision.csv').data
    for row in test_data:
        result = float(row['Result'])
        self.assertAlmostEqual(self.calculator.divide(row['Value 1'], row['Value 2']), result)
        self.assertAlmostEqual(self.calculator.result, float(row['Result']))
def test_division(self):
    test_data = CsvReader('src/csv/TestDivision.csv').data
    for row in test_data:
        result = float(row['Result'])
        self.assertAlmostEqual(self.calculator.divide(row['Value 1'], row['Value 2']), result)
        self.assertAlmostEqual(self.calculator.result, float(row['Result']))