public static void ReleasesReferences <T>(List2D <T> list) where T : class { list.Clear(); CheckUnusedReferences(list, (0, 0), list.Capacity); }
public void Clear() { hash.Clear(); }
public static void Test <T>(List2D <T> list) { list.Clear(); Assert.AreEqual(list.Boundaries, new Bounds2D(0, 0)); }
public static void IsEmptyReturnsTrueWhenListIsCleared <T>(List2D <T> list) { list.Clear(); Assert.That(list.IsEmpty); }