コード例 #1
0
    public void ShowSpeed()
    {
        var    car      = new RemoteControlCar();
        string expected = "100 meters per second";

        car.Telemetry.SetSpeed(100, "mps");
        Assert.Equal(expected, car.GetSpeed());
    }