#Some of the tests in cars_assemble.go are wrong

2 messages · Page 1 of 1 (latest)

coral lantern
#

For example


=== RUN   TestCalculateWorkingCarsPerMinute/calculate_working_cars_per_minute_for_100%_success_rate

    cars_assemble_test.go:114: CalculateWorkingCarsPerMinute(221, 100.000000) = 221, want 3

--- FAIL: TestCalculateWorkingCarsPerMinute/calculate_working_cars_per_minute_for_100%_success_rate (0.00s)

The answer should be 221 for a 100% success rate, right?
I haven't eaten any mushrooms, but I'm open to the idea that reality is really a dream, or I'm missing something .....
I hope you take my joke in good faith :p

solar oracle
#

Is 221 the per minute or per hour rate?