Example #1
0
        public void SensorCommandParse_Failure()
        {
            var command    = SensorCommandParse.Parse(Command.FAILURE);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.FAILURE);
        }
Example #2
0
        public void SensorCommandParse_Invalid()
        {
            var command    = SensorCommandParse.Parse(Command.INVALID);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.INVALID);
        }
Example #3
0
        public void SensorCommandParse_Stopscan()
        {
            var command    = SensorCommandParse.Parse(Command.STOP_SCAN);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.STOP_SCAN);
        }
Example #4
0
        public void SensorCommandParse_InputSettings()
        {
            var command    = SensorCommandParse.Parse(Command.INPUT_SETTINGS);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.INPUT_SETTINGS);
        }
Example #5
0
        public void SensorCommandParse_ReportStatus()
        {
            var command    = SensorCommandParse.Parse(Command.REPORT_STATUS);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.REPORT_STATUS);
        }
Example #6
0
        public void SensorCommandParse_Connect()
        {
            var command    = SensorCommandParse.Parse(Command.CONNECT);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.CONNECT);
        }
Example #7
0
        public void SensorCommandParse_Quit()
        {
            var command    = SensorCommandParse.Parse(Command.QUIT);
            var commandVal = command.Execute(ref m_sensorAPI);

            Assert.AreEqual(commandVal, Command.QUIT);
        }