示例#1
0
        public async Task Validate_ColorCodingComponents_GetMultipliers_Empty_Failure()
        {
            //arrange


            //act
            var colorCodingComponents = new ColorCodingComponents();
            var response = await colorCodingComponents.GetMultipliersAsync("");

            //assert
            Assert.IsNull(response);
        }
示例#2
0
        public async Task Validate_ColorCodingComponents_GetMultipliers_White_Success()
        {
            //arrange


            //act
            var colorCodingComponents = new ColorCodingComponents();
            var response = await colorCodingComponents.GetMultipliersAsync("white");

            //assert
            Assert.IsNotNull(response);
            Assert.IsTrue(response == 1000000000d);
        }