コード例 #1
0
        public void ExpressionFactoryBool_SuccessfullyCreates_ConstantBoolExpression_Test()
        {
            //Arrange
            var constantBool = new ConstantBool <IContext>(true);
            //Act
            var sut = _expressions.Bool(true);

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