This t-shirt has been around for years...
So I thought that it needed a bit of an update.
Assert.AreNotEqual(0, users.Count(u => u.clue > 0));
Simon Munro
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using RSS
I'd wear one.
Of course, the statement could also be written
Assert.IsTrue(users.Exists(u => u.clue > 0));
It should be AreEqual and IsFalse... ;)