private FirstVariableWithNestedTuple ( ) : void | ||
Résultat | 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);
}