[TestFixture]
public class IHateNunit
{
[Test]
public void A_list_works()
{
IList
//Double Pass
Assert.That(strs.Count, Is.EqualTo(1));
Assert.That(strs, Has.Count(1));
}
[Test]
public void An_array_doesnt()
{
IList<string> strs = new string[] { "asdf" };
//Pass
Assert.That(strs.Count, Is.EqualTo(1));
//#FAIL
Assert.That(strs, Has.Count(1));
}
}