public void Null() { var sut = new ICollectionClass(); int expected = sut.ExpectedFromCodegen(); Assert.AreEqual(expected, sut.GetHash(compiler)); Assert.AreEqual(numFieldsTouched, debugStats.StatsIcollection); }
public void Elements() { var sut = new ICollectionClass(); sut.IColl1 = new List <int>() { 1, 2, 3 }; int expected = sut.ExpectedFromCodegen(); Assert.AreEqual(expected, sut.GetHash(compiler)); Assert.AreEqual(numFieldsTouched, debugStats.StatsIcollection); }