question: private int testInRange ( long actual , long expected , long epsilon ) { long min = expected - epsilon ; long max = expected + epsilon ; return actual < min ? - 1 : actual > max ? 1 : 0 ; }
target:  Returns -1, 0, 1 if actual is less than, equal to, or greater than expected w/in epsilon. 