public void EvaluateKey_LeftShift_EvaluatedAsStopStreamingVideoCommand() { var expectedCommand = new StopStreamingVideoCommand(); var stopStreamingVideoKeyInfo = new KeyInfo(Key.LeftShift, KeyState.Down); var commandEvaluated = this.telloKeyInputEvaluator.EvaluateKey(stopStreamingVideoKeyInfo); Assert.Equal(expectedCommand, commandEvaluated); }
public void Equals_ComparandIsStopStreamingVideoCommandWithDroneCommandReference_ReturnsTrue() { DroneCommand comparand = new StopStreamingVideoCommand(); Assert.True(this.stopStreamingVideoCommand.Equals(comparand)); }
public StopStreamingVideoCommandTests() { this.stopStreamingVideoCommand = new StopStreamingVideoCommand(); }
public void Equals_ComparandIsStopStreamingVideoCommand_ReturnsTrue() { var comparand = new StopStreamingVideoCommand(); Assert.True(this.stopStreamingVideoCommand.Equals(comparand)); }