Beispiel #1
0
        public void ExpressionFactoryColor_SuccessfullyCreates_ConstantColorExpression_Test()
        {
            //Arrange
            var constantColor = new ConstantColor <IContext>(Color.Red);
            //Act
            var sut = _expressions.Color(Color.Red);

            //Assert
            Assert.True(sut.Interpret(_context) == constantColor.Interpret(_context));
        }