public void GroupedListSourceConstructorTests ()
		{
			var myDataClass = new dataClass ();
			GroupedListSource<string,dataClass> list = new GroupedListSource<string,dataClass>(
				new List<ListGroup<string, dataClass>>{new ListGroup<string, dataClass> (){ myDataClass, new dataClass () }});
			Assert.Contains (myDataClass, list[0]);
		}
		public void GroupedListSourceEmptyConstructorTests ()
		{
			GroupedListSource<string,dataClass> list = new GroupedListSource<string,dataClass>();
			var myDataClass = new dataClass ();
			list.Add (new ListGroup<string, dataClass> (){ myDataClass, new dataClass () });
			Assert.Contains (myDataClass, list[0]);
		}
Esempio n. 3
0
        public void GroupedListSourceEmptyConstructorTests()
        {
            GroupedListSource <string, dataClass> list = new GroupedListSource <string, dataClass>();
            var myDataClass = new dataClass();

            list.Add(new ListGroup <string, dataClass> ()
            {
                myDataClass, new dataClass()
            });
            Assert.Contains(myDataClass, list[0]);
        }
Esempio n. 4
0
        public void GroupedListSourceConstructorTests()
        {
            var myDataClass = new dataClass();
            GroupedListSource <string, dataClass> list = new GroupedListSource <string, dataClass>(
                new List <ListGroup <string, dataClass> > {
                new ListGroup <string, dataClass> ()
                {
                    myDataClass, new dataClass()
                }
            });

            Assert.Contains(myDataClass, list[0]);
        }