示例#1
0
 private void CreateInputList()
 {
     InputList = new List <IInput>();
     InputList.Add(inputFactory.CreateInput(69));
     InputList.Add(inputFactory.CreateInput(70));
     InputList.Add(inputFactory.CreateInput(71));
 }
        public List <IInput> CreateInputsList()
        {
            List <IInput> inputList = new List <IInput>();

            inputList.Add(inputfactory.CreateInput(69));
            inputList.Add(inputfactory.CreateInput(70));
            inputList.Add(inputfactory.CreateInput(71));

            return(inputList);
        }
        public void CreateInput(ushort inputValue)
        {
            var input = _inputFactory.CreateInput(inputValue);

            Assert.NotNull(input);
            Assert.Equal(inputValue, input.Value);
        }