public void ExpandTest() { var arr = UnsafeStack.Allocate <int>(8); for (int i = 0; i < 10; i++) { UnsafeStack.Push(arr, i); } Assert.IsTrue(UnsafeStack.GetCapacity(arr) > 8); UnsafeStack.Free(arr); }