def equality(options):
empty = {}<EOL>mapping_a = {'<STR_LIT:foo>': '<STR_LIT:bar>'}<EOL>mapping_b = {'<STR_LIT>': '<STR_LIT>'}<EOL>constructor = options.constructor<EOL>assert_true(constructor(empty) == empty)<EOL>assert_false(constructor(empty) != empty)<EOL>assert_false(constructor(empty) == mapping_a)<EOL>assert_true(constructor(empty) != mapping_a)<EOL>assert_false(constructor(empty) == mapping_b)<EOL>assert_true(constructor(empty) != mapping_b)<EOL>assert_false(constructor(mapping_a) == empty)<EOL>assert_true(constructor(mapping_a) != empty)<EOL>assert_true(constructor(mapping_a) == mapping_a)<EOL>assert_false(constructor(mapping_a) != mapping_a)<EOL>assert_false(constructor(mapping_a) == mapping_b)<EOL>assert_true(constructor(mapping_a) != mapping_b)<EOL>assert_false(constructor(mapping_b) == empty)<EOL>assert_true(constructor(mapping_b) != empty)<EOL>assert_false(constructor(mapping_b) == mapping_a)<EOL>assert_true(constructor(mapping_b) != mapping_a)<EOL>assert_true(constructor(mapping_b) == mapping_b)<EOL>assert_false(constructor(mapping_b) != mapping_b)<EOL>assert_true(constructor(empty) == constructor(empty))<EOL>assert_false(constructor(empty) != constructor(empty))<EOL>assert_false(constructor(empty) == constructor(mapping_a))<EOL>assert_true(constructor(empty) != constructor(mapping_a))<EOL>assert_false(constructor(empty) == constructor(mapping_b))<EOL>assert_true(constructor(empty) != constructor(mapping_b))<EOL>assert_false(constructor(mapping_a) == constructor(empty))<EOL>assert_true(constructor(mapping_a) != constructor(empty))<EOL>assert_true(constructor(mapping_a) == constructor(mapping_a))<EOL>assert_false(constructor(mapping_a) != constructor(mapping_a))<EOL>assert_false(constructor(mapping_a) == constructor(mapping_b))<EOL>assert_true(constructor(mapping_a) != constructor(mapping_b))<EOL>assert_false(constructor(mapping_b) == constructor(empty))<EOL>assert_true(constructor(mapping_b) != constructor(empty))<EOL>assert_false(constructor(mapping_b) == constructor(mapping_a))<EOL>assert_true(constructor(mapping_b) != constructor(mapping_a))<EOL>assert_true(constructor(mapping_b) == constructor(mapping_b))<EOL>assert_false(constructor(mapping_b) != constructor(mapping_b))<EOL>assert_true(constructor((('<STR_LIT:foo>', '<STR_LIT:bar>'),)) == {'<STR_LIT:foo>': '<STR_LIT:bar>'})<EOL>
Equality checks for {cls}