public void ConvertTest3() { APIHandler api = new APIHandler(); List <CurrencyDTO> list = api.GetCurrenciesDTO(); Double response = api.Convert("CHF", "EUR", 1, list); Assert.IsTrue(response < 1); }
public void ConvertTest() { APIHandler api = new APIHandler(); List <CurrencyDTO> list = api.GetCurrenciesDTO(); Double selectedQuantity = 10; Double response = api.Convert("EUR", "USD", selectedQuantity, list); Assert.IsTrue(response > selectedQuantity); }