def METHOD_NAME(self):
    self.assertTrue(match("foo", ""))
    self.assertTrue(match("foo/bar/baz.qux", "foo/bar"))
    self.assertTrue(match("foo/bar/baz.qux", "foo"))
    self.assertTrue(match("foo", "*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/bar/*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/bar/*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/bar/*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/bar/*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/*/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "*/bar/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "*/*/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "*/*/*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/*/*"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/*/*.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/b*/*z.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/b*r/ba*z.qux"))
    self.assertFalse(match("foo/bar/baz.qux", "foo/b*z/ba*r.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "**"))
    self.assertTrue(match("foo/bar/baz.qux", "**/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "**/bar/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/**/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/**/*.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "**/foo/bar/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/**/bar/baz.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/**/bar/*.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/**/*.qux"))
    self.assertTrue(match("foo/bar/baz.qux", "**/*.qux"))
    self.assertFalse(match("foo/bar/baz.qux", "**.qux"))
    self.assertFalse(match("foo/bar", "foo/*/bar"))
    self.assertTrue(match("foo/bar/baz.qux", "foo/**/bar/**"))
    self.assertFalse(match("foo/nobar/baz.qux", "foo/**/bar/**"))
    self.assertTrue(match("foo/bar", "foo/**/bar/**"))