Verify that the value is in the container.
UnitTestException on failure
1 5.shouldBeIn([5: "foo"]); 2 3 struct AA { 4 int onlyKey; 5 bool opBinaryRight(string op)(in int key) const { 6 return key == onlyKey; 7 } 8 } 9 10 5.shouldBeIn(AA(5)); 11 assertFail(5.shouldBeIn(AA(4)));
See Implementation
Verify that the value is in the container.