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