public void TestInitTable() { BuiltInAccelerometer m_accel = new BuiltInAccelerometer(AccelerometerRange.k4G); ITable table = new MockNetworkTable(); Assert.DoesNotThrow(() => { m_accel.InitTable(table); }); Assert.That(m_accel.Table, Is.EqualTo(table)); }
public void TestStartLiveWindowModeTable() { BuiltInAccelerometer m_accel = new BuiltInAccelerometer(AccelerometerRange.k4G); Assert.DoesNotThrow(() => { ITable table = new MockNetworkTable(); m_accel.InitTable(table); }); }