def test_1(self): sol = Solution() # m = n = 1 m = 1 n = 2 m = 4 n = 9 ret = sol.numberOfPatterns(m, n) print ret