@@ -0,0 +1,2296 @@
+from yunity.utils.test import BaseTestCase, DeepMatcher%0A%0A%0Aclass DeepMatcherTestCase(BaseTestCase):%0A    def test_fuzzy_match_succeeds_with_fuzzy_int_leaves(self):%0A        self.given_data(actual=1, expected=DeepMatcher.ANY_INT)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_passed_with_no_result()%0A%0A    def test_fuzzy_match_fails_with_fuzzy_int_leaves(self):%0A        self.given_data(actual='foo', expected=DeepMatcher.ANY_INT)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_failed_with(ValueError)%0A%0A    def test_fuzzy_match_succeeds_with_fuzzy_string_leaves(self):%0A        self.given_data(actual='foo', expected=DeepMatcher.ANY_STRING)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_passed_with_no_result()%0A%0A    def test_fuzzy_match_fails_with_fuzzy_string_leaves(self):%0A        self.given_data(actual=1, expected=DeepMatcher.ANY_STRING)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_failed_with(ValueError)%0A%0A    def test_fuzzy_match_succeeds_with_same_leaves(self):%0A        self.given_data('a', 'a')%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_passed_with_no_result()%0A%0A    def test_fuzzy_match_fails_with_different_leaves(self):%0A        self.given_data('a', 'b')%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_failed_with(ValueError)%0A%0A    def test_fuzzy_match_succeeds_with_same_lists(self):%0A        self.given_data(%5B1, 'b'%5D, %5B1, 'b'%5D)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_passed_with_no_result()%0A%0A    def test_fuzzy_match_fails_with_different_lists(self):%0A        self.given_data(%5B1, 'b'%5D, %5B1, 'a'%5D)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_failed_with(ValueError)%0A%0A    def test_fuzzy_match_succeeds_with_same_dicts(self):%0A        self.given_data(%7B'a': 1, 'b': 2%7D, %7B'a': 1, 'b': 2%7D)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_passed_with_no_result()%0A%0A    def test_fuzzy_match_fails_with_different_dicts(self):%0A        self.given_data(%7B'a': 1, 'b': 2%7D, %7B'b': 1, 'a': 2%7D)%0A        self.when_calling(DeepMatcher.fuzzy_match)%0A        self.then_invocation_failed_with(ValueError)%0A

Add tests for DeepMatcher