def test_get_vibration(self): """Test get_vibration method.""" _ = self.gyro.vibration self.assertEqual( self.send_q.get(), Gyro.request_property(-1, Gyro.PropertyType.VIBRATION))
def test_get_acceleration_z(self): """Test get_acceleration_z method.""" _ = self.gyro.acceleration_z self.assertEqual( self.send_q.get(), Gyro.request_property(-1, Gyro.PropertyType.ACCELERATION_Z))
def test_get_angular_vel_z(self): """Test get_angular_vel_z method.""" _ = self.gyro.angular_vel_z self.assertEqual( self.send_q.get(), Gyro.request_property(-1, Gyro.PropertyType.ANGULAR_VEL_Z))
def test_get_yaw(self): """Test get_yaw method.""" _ = self.gyro.yaw self.assertEqual(self.send_q.get(), Gyro.request_property(-1, Gyro.PropertyType.YAW))
def test_get_pitch(self): """Test get_pitch method.""" _ = self.gyro.pitch self.assertEqual(self.send_q.get(), Gyro.request_property(-1, Gyro.PropertyType.PITCH))
def test_get_roll(self): """Test get_roll method.""" _ = self.gyro.roll self.assertEqual(self.send_q.get(), Gyro.request_property(-1, Gyro.PropertyType.ROLL))