Пример #1
0
        public void TestCopy()
        {
            using (var list = new SList <OpaqueInt> ()) {
                list.Append(null);
                Assume.That(list.Length, Is.EqualTo(1));
                var newList = list.Copy();
                Assert.That(list.Length, Is.EqualTo(1));
                Assert.That(newList.Length, Is.EqualTo(1));
            }

            Utility.AssertNoGLibLog();
        }