public void WHenConvertingMPHtoKMPH_Success() { Movable bugatti = new BugattiVeyron(); MovableAdapter movableAdapter = new MovableAdapterImpl(bugatti); Assert.AreEqual(movableAdapter.GetSpeed(), 431.30312); }
public void whenConvertingMPHToKMPH_thenSuccessfullyConverted() { Movable bugattiVeyron = new BugattiVeyron(); MovableAdapter bugattiVeyronAdapter = new MovableAdapterImpl(bugattiVeyron); Assert.AreEqual(bugattiVeyronAdapter.GetSpeed(), 431.30312, 0.00001); }