Пример #1
0
        public void Clear()
        {
            ModbusDataCollection <bool> col = new ModbusDataCollection <bool>(true, false);

            col.Clear();
            Assert.AreEqual(1, col.Count);
        }
        public void Clear()
        {
            var col = new ModbusDataCollection <TData>(GetArray());

            col.Clear();

            Assert.Equal(1, col.Count);
        }
 public void Clear()
 {
     ModbusDataCollection<bool> col = new ModbusDataCollection<bool>(true, false);
     col.Clear();
     Assert.AreEqual(1, col.Count);
 }