public void TestQueueEvent() { var actionBuffers = new ActionBuffers(new ActionSegment <float>(new[] { 1f }), ActionSegment <int> .Empty); m_Adaptor.QueueInputEventForAction(m_Action, m_Control, new ActionSpec(), actionBuffers); InputSystem.Update(); var val = m_Action.ReadValue <float>(); Assert.IsTrue(Mathf.Approximately(1f, val)); }