public void whenConvertingUSDToEuro() { Movable bugattiVeyron = new BugattiVeyron(); MovableAdapter bugattiVeyronAdapter = new MovableAdapterImpl(bugattiVeyron); Assert.AreEqual(bugattiVeyronAdapter.GetPrice(), 119, 0.00001); }
public void WhenConvertingKPHToEuro_thenSuccessfullyConverted() { Movable bugattiVeyron = new BugattiVeyron(); MovableAdapter bugattiVeyronAdapter = new MovableAdapterImpl(bugattiVeyron); Assert.AreEqual(bugattiVeyronAdapter.GetPrice(), 119, 0.00001); }