public void then_can_send_data_to_ValueStorage() { driver.StartAttendingVariable(10); driver.ValueToPostToVariableStorage = Tuple.Create(10, 3.1416); driver.Start(); timerStub.DoTick(); StructuralComparisons.StructuralComparer.Compare(variableStorage.Dequeue(), Tuple.Create(10, 3.1416)).ShouldEqual(0); }
public void then_driver_start_timer_if_attending_variables() { driver.StartAttendingVariable(1); driver.Start(); timerStub.Started.ShouldBeTrue(); }
public void then_fail_attending_unregistered_variable() { driver.StartAttendingVariable(1); }