Faulty test for a Wordy exercise

I’ve just finished the Wordy exercise, having double-checked my results on my own before publishing. I didn’t bother about math operators prioritization on calculating equations like a + b * c.

So I expected to get an error, as Test 14 should have provide me with one. Say - 3 + 7 * -2 is -17. Unfortunately the test expects the result to be 8.

So I kindly ask to approve my fix of the test case 14

The test is correct. Remember the instructions state that this is to be processed in a specific way, and this is different than we would normally do so with the "PEMDAS"1 rules of mathematics.

3 Likes

@kotp, thank you, Victor.
Looks like I’d better improved my task reading skills and attentiveness

2 Likes