Cant make this Unit Test Fail

SOVLED: you need to prepend every method name in your XCTest class with “test”. Otherwise the method will just be skipped.

Hello
I’m trying to make this Unit Test fail by asserting the amount of ‘produce in stock’ equals 0, however my function which dictates the amount of produce in stock actually returns -1. The test still passes! Can someone advise how to make this test fail? Please see image below as a reference.
Thank you!
XCTest Image

Hi @puppet,
Glad that you resolved this one by yourself.

cheers,

Jayant