def METHOD_NAME(self):
    test = DataFrame({
        "id" : [0,1],
        "latitude" : [37.4205,37.5205],
        "longitude" : [-122.2046,-122.3046],
        })
    result = apply(test)
    self.assertEqual(result["distance"][1],14196.0)