mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-04 20:16:36 +08:00

This test case had an error in both examples: test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode It was supposed to be a list of values that are NOT in the list, and none of them should be found. It incorrectly included '1'
Example 2 ========= Same as the first example, but now using Unity's test fixture to group tests together. Using the test fixture also makes writing test runners much easier.