Example #1
0
        public void RemoveTest()
        {
            NSArray array = new NSArray();

            array.Add(0);
            Assert.False(array.Remove((object)1));
            Assert.True(array.Remove((object)0));

            Assert.Empty(array);
        }
Example #2
0
        public void RemoveTest()
        {
            NSArray array = new NSArray();

            array.Add(0);
            Assert.False(array.Remove((object)1));
            Assert.True(array.Remove((object)0));

            Assert.Equal(0, array.Count);
        }