changed CloseTo matcher to use type trait