def testFloorExample5(self): self.assertEquals(-3, dec01.floor(0, ")))")) self.assertEquals(-3, dec01.floor(0, ")())())"))
def testFloorExample4(self): assert(dec01.floor(0, "())") == -1) assert(dec01.floor(0, "))(") == -1)
def testFloorExample2(self): assert(dec01.floor(0, "(((") == 3) assert(dec01.floor(0, "(()(()(") == 3)
def testFloorExample3(self): assert(dec01.floor(0, "))(((((") == 3)
def testFloorExample1(self): assert(dec01.floor(0, "(())") == 0) assert(dec01.floor(0, "()()") == 0)