Lines Matching refs:expected
85 expected = (
89 self.assertEqual(expected, str(d))
90 expected = ("01" "02000000"
93 self.assertEqual(expected, d.Pack())
94 unpacked = DoubleNested(expected)
103 expected = ("TestStruct(byte1=2, string2=68656c6c6f0000000000000000000000,"
105 self.assertEqual(expected, str(t))
109 expected = ("TestStruct(byte1=2, string2=68656c6c6f0076697369626c65313233,"
111 self.assertEqual(expected, str(t))
132 expected = ("01" + text_bytes + "98BADCFE" "3412").decode("hex")
133 self.assertEqual(expected, t1.Pack())
137 expected = ("00" + text_bytes + "00000000" "3412").decode("hex")
138 self.assertEqual(expected, t1.Pack())