public void CombinationTesting()
 {
     MotionSensorSettingsList testSettings = new MotionSensorSettingsList();
     testSettings.PopulateAllPossible();
     Assert.IsTrue(testSettings.seperateSettingLists.Count > 3);
     Assert.IsTrue(testSettings.seperateSettingLists[0].list.Count > 0);
 }
示例#2
0
        public void CombinationTesting()
        {
            MotionSensorSettingsList testSettings = new MotionSensorSettingsList();

            testSettings.PopulateAllPossible();
            Assert.IsTrue(testSettings.seperateSettingLists.Count > 3);
            Assert.IsTrue(testSettings.seperateSettingLists[0].list.Count > 0);
        }
        /// <summary>
        /// Tests all items in the captures list, against the specified motion sensor type
        /// </summary>
        /// <param name="motionSensorType"></param>
        public void TestAllCaptures(MotionSensorTypes motionSensorType)
        {
            PopulateAllCaptures();

            MotionSensorSettingsList motionSensorSettingsList = new MotionSensorSettingsList();
            motionSensorSettingsList.PopulateAllPossible();
            var settingsList = motionSensorSettingsList.list;

            foreach (MotionSensorSettingsTest setting in settingsList)
            {
                captures.list.ForEach(x => TestMotion(x, motionSensorType, setting));
            }
        }
示例#4
0
        /// <summary>
        /// Tests all items in the captures list, against the specified motion sensor type
        /// </summary>
        /// <param name="motionSensorType"></param>
        public void TestAllCaptures(MotionSensorTypes motionSensorType)
        {
            PopulateAllCaptures();

            MotionSensorSettingsList motionSensorSettingsList = new MotionSensorSettingsList();

            motionSensorSettingsList.PopulateAllPossible();
            var settingsList = motionSensorSettingsList.list;

            foreach (MotionSensorSettingsTest setting in settingsList)
            {
                captures.list.ForEach(x => TestMotion(x, motionSensorType, setting));
            }
        }