public void whenConvertingMPHToKMPH_thenSuccessfullyConverted() { Movable bugattiVeyron = new BugattiVeyron(); MovableAdapter bugattiVeyronAdapter = new MovableAdapterImpl(bugattiVeyron); assertEquals(bugattiVeyronAdapter.getSpeed(), 431.30312, 0.00001); }
public void whenConvertingMPHToKMPH_thenSuccessFullyConverted() { Movable bugattiVeyron = new BugattiVeyron(); MovableAdaptor buggatiVeyronAdaptor = new MovableAdapterImpl(bugattiVeyron); Assert.AreEqual(buggatiVeyronAdaptor.getSpeed(), 431.30312); }