AjErl.Tests.Language.TupleTests.FirstVariableWithNestedTuple C# (CSharp) 메소드

FirstVariableWithNestedTuple() 개인적인 메소드

private FirstVariableWithNestedTuple ( ) : void
리턴 void
        public void FirstVariableWithNestedTuple()
        {
            Tuple tuple = new Tuple(new object[] { new Tuple(new object[] { 1, 2, 3 }), new Variable("X"), 3 });
            var result = tuple.FirstVariable();

            Assert.IsNotNull(result);
            Assert.AreEqual("X", result.Name);
        }