コード例 #1
0
        public void SplitTest()
        {
            // Split the collection into two equal sized collections
            List <EventCollection> collections = collection.Split(2);

            // Ensure that two Collections have been created
            Assert.AreEqual(2, collections.Count);

            // Ensure that they both have an equal number of coordinates
            Assert.AreEqual(2, collections[0].Count);
            Assert.AreEqual(2, collections[1].Count);
        }