3 ms·
Or the developers are just stupid. Now they simply can add a simple if-statement. if driver_pay < 3: driver_pay == 3 No need to bother with unit
by bb88 8y ago
Or the developers are just stupid. Now they simply can add a simple if-statement.
if driver_pay < 3:
driver_pay == 3
No need to bother with unit tests on that one.
[Edit:] LOL as seen below. That's probably how they coded it.
- dymk 8y agoActually you should have tested your code, because this does a no-op equality test against 3 (==), rather than your intention to set driver_pay to 3 (=)
- deleted 8y ago[deleted]
- throwaway2016a 8y agoI thought you did that intentionally to be sarcastic / ironic...