def test_calculate_full_scale_points_scale2(self): a = Series(0, 5, 2) self.assertEqual(3, a.calculate_full_scale_points())
def test_calculate_full_scale_points_actual(self): a = Series(0, 18.9, 2) self.assertEqual(10, a.calculate_full_scale_points())
def test_calculate_full_points_not_full_numbers(self): a = Series(0.31, 5.5, 2) self.assertEqual(3, a.calculate_full_scale_points())