Using a function in the expected field of equal()
I have a function that starts a timer. Im using the asyncTest function to test my lapTime function, to make sure its within an acceptable range. I set the asyncTest to 4000 milliseconds, and then set my equal() to expect a value of 4. When running the test, it came back with a value of 3.999 and 3,998. I decided to then just change my expected to be >=4, which would tell me if my function was grabbing the time correctly. when i changed my expected to be (lapTime() <= 4, ) it says my expected output is true, not within the range of the number? any ideas?