def test_square_root(self):
    test_data = CsvReader('src/csv/TestSquareRoot.csv').data
    for row in test_data:
        result = float(row['Result'])
        self.assertAlmostEqual(self.calculator.square_root(row['Value 1']), result)
        self.assertAlmostEqual(self.calculator.result, float(row['Result']))
def test_square_root(self):
    test_data = CsvReader('src/csv/TestSquareRoot.csv').data
    for row in test_data:
        result = float(row['Result'])
        self.assertAlmostEqual(self.calculator.square_root(row['Value 1']), result)
        self.assertAlmostEqual(self.calculator.result, float(row['Result']))