public void CheckSubtreeTestAlternative(TreeNode <int> T1, TreeNode <int> T2, bool expectedResult) { bool result = CheckSubtree <int> .IsSubtreeWithPreOrderTraversal(T1, T2); Assert.Equal(expectedResult, result); }