public void InstanceOK()
        {
            //Create an instance of the class we want to create
            clsScreen AScreen = new clsScreen();

            //Test to see that it exisrs
            Assert.IsNotNull(AScreen);
        }
        public void CapacityPropertyOK()
        {
            //Create an instance of the class we want to create
            clsScreen AScreen = new clsScreen();
            //Create some test data to align to the property
            Int32 SomeCapacity = 60;

            //Assign the data to the property
            AScreen.Capacity = SomeCapacity;
            Assert.AreEqual(AScreen.Capacity, SomeCapacity);
        }
        public void ScreenIDPropertyOK()
        {
            //Create an instance of the class we want to create
            clsScreen AScreen = new clsScreen();
            //Create some test data to align to the property
            Int32 SomeScreenID = 1;

            //Assign the data to the property
            AScreen.ScreenID = SomeScreenID;
            Assert.AreEqual(AScreen.ScreenID, SomeScreenID);
        }
        public void CountMatchesList()
        {
            //Create an instance of the class we want to create
            clsScreenCollection Screens = new clsScreenCollection();
            //Create some test data to align to the property
            //In this case, the data needs to be a list of objects
            List <clsScreen> TestList = new List <clsScreen>();
            //Add an item to the list
            //Create an item of test data
            clsScreen TestItem = new clsScreen();

            //Set its properties
            TestItem.ScreenID = 1;
            TestItem.Capacity = 60;
            //Add the item to the test list
            TestList.Add(TestItem);
            //Assign the data to the property
            Screens.ScreenList = TestList;
            //Test to see that the two values are the same
            Assert.AreEqual(Screens.Count, TestList.Count);
        }