def METHOD_NAME(self):
    """Leak test for functions with default arguments"""
    import cppyy
    cppyy.cppdef("""\
    namespace LeakCheck {
    double free_default(int a=11, float b=22.f, double c=33.) {
        return a*b*c;
    }
    class MyClass04 {
    public:
        static double static_default(int a=11, float b=22.f, double c=33.) {
            return free_default(a, b, c);
        }
        double method_default(int a=11, float b=22.f, double c=33.) {
            return free_default(a, b, c);
        }
    }; }""")
    ns = cppyy.gbl.LeakCheck
    self.check_func(ns, 'free_default')
    self.check_func(ns, 'free_default', a=-99)
    self.check_func(ns, 'free_default', b=-99)
    self.check_func(ns, 'free_default', c=-99)
    # TODO: no keyword arguments for static methods yet
    #for m in [ns.MyClass04, ns.MyClass04()]:
    #    self.check_func(m, 'static_default')
    #    self.check_func(m, 'static_default', a=-99)
    #    self.check_func(m, 'static_default', b=-99)
    #    self.check_func(m, 'static_default', c=-99)
    m = ns.MyClass04()
    self.check_func(m, 'method_default')
    self.check_func(m, 'method_default', a=-99)
    self.check_func(m, 'method_default', b=-99)
    self.check_func(m, 'method_default', c=-99)