コード例 #1
0
        public void AssignEvaluation_ExpressionToObject_Terminal_Returns_Object()
        {
            //------------Setup for test--------------------------
            var obj = new JObject();

            //------------Execute Test---------------------------
            var jobj = AssignEvaluation.expressionToObject(obj, LanguageAST.JsonIdentifierExpression.Terminal, CommonFunctions.WarewolfEvalResult.NewWarewolfAtomResult(DataStorage.WarewolfAtom.Nothing));

            //------------Assert Results-------------------------
            Assert.IsTrue(ReferenceEquals(obj, jobj));
        }