def METHOD_NAME(self, found, expected, precision=1e-5):
    for i in range(len(found)):
        for j in range(1,len(expected)):
            if found[i] <= expected[j] and found[i] >= expected[j-1]:
                if fabs(found[i] - expected[j-1]) < fabs(expected[j] - found[i]):
                    self.assertAlmostEqual(found[i], expected[j-1], precision)
                else:
                    self.assertAlmostEqual(found[i], expected[j], precision)