Lines Matching refs:Bool
23 from blueprint import Bool, Concat, Dict, Expr, Integer, List, String, VarRef
50 false_expr = Bool(False)
54 true_expr = Bool(True)
58 self.assertEqual(Bool(False), false_expr)
59 self.assertEqual(Bool(True), true_expr)
65 false_expr1 = Bool(False)
66 false_expr2 = Bool(False)
67 true_expr1 = Bool(True)
68 true_expr2 = Bool(True)
80 false_expr = Bool(False)
81 true_expr = Bool(True)
83 self.assertEqual(hash(Bool(False)), hash(false_expr))
84 self.assertEqual(hash(Bool(True)), hash(true_expr))
90 self.assertEqual('False', repr(Bool(False)))
91 self.assertEqual('True', repr(Bool(True)))
287 expr = Dict([('a', String('1')), ('b', Bool(True))])
293 self.assertEqual(Bool(True), expr['b'])