示例#1
0
        public void TestInitTable()
        {
            using (Encoder s = new Encoder(0, 1))
            {
                ITable table = new MockNetworkTable();
                Assert.DoesNotThrow(() =>
                {
                    s.InitTable(table);
                });
                Assert.That(s.Table, Is.EqualTo(table));
            }

        }