comparison tests/test_interpolation.py @ 67:a09d5ffd2fc9

fix test
author Jeff Hammel <k0scist@gmail.com>
date Sat, 28 Feb 2015 14:51:10 -0800
parents 7dd1b18c9f78
children
comparison
equal deleted inserted replaced
66:7dd1b18c9f78 67:a09d5ffd2fc9
41 41
42 raw_data = self.read_test_data() 42 raw_data = self.read_test_data()
43 data = [[(row[0], row[col]) for row in raw_data] 43 data = [[(row[0], row[col]) for row in raw_data]
44 for col in (1,2)] 44 for col in (1,2)]
45 for series in data: 45 for series in data:
46 x_values = range(2,10) 46 x_values = range(2, 5)
47 interpolated = linear_interpolation(series, x_values) 47 interpolated = linear_interpolation(series, x_values)
48 48
49 49
50 if __name__ == '__main__': 50 if __name__ == '__main__':
51 unittest.main() 51 unittest.main()