public void TestDisposeAndInitialize() { Assert.That(GetData().Initialized); m_gyro.Dispose(); Assert.That(GetData().Initialized, Is.False); m_gyro = new ADXRS450_Gyro((SPI.Port)m_port); Assert.That(GetData().Initialized); }
public TestADXRS450(SPI.Port port) { m_gyro = new ADXRS450_Gyro(port); m_port = (int)port; started = true; }