Exemplo n.º 1
0
        public void ThenVerifyTheDetailsFromWebAndApi(int offset)
        {
            var isInragne = OpenWeather.VerifyResultsRange(ApiResult, WebResult - offset, WebResult + offset);

            Assert.IsTrue(isInragne,
                          string.Format("Humidity value from web and rest are not same. Web: {0} and Api: {1}",
                                        WebResult, ApiResult));
        }