def test_sum_of_reoccurring_data_points(self):
        self.assertAlmostEqualOnAllArrayTypes(
            sum_of_reoccurring_data_points, [1, 1, 2, 3, 4, 4], 10
        )
        self.assertAlmostEqualOnAllArrayTypes(
            sum_of_reoccurring_data_points, [1, 1.5, 2, 3], 0
        )
        self.assertAlmostEqualOnAllArrayTypes(sum_of_reoccurring_data_points, [1], 0)
        self.assertAlmostEqualOnAllArrayTypes(
            sum_of_reoccurring_data_points, [1.111, -2.45, 1.111, 2.45], 2.222
        )
        self.assertAlmostEqualOnAllArrayTypes(sum_of_reoccurring_data_points, [], 0)