Lines Matching refs:expected
32 const std::vector<uint8_t> expected{1, 2, 3, 4}; in TEST() local
33 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
34 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
39 const std::vector<uint8_t> expected{4, 3, 2, 1, 3}; in TEST() local
40 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
41 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
46 const std::vector<uint8_t> expected{4, 3, 2, 1, 0}; in TEST() local
47 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
48 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
53 const std::vector<uint8_t> expected{5, 6, 7, 8, 0, 1, 2}; in TEST() local
54 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
55 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
60 const std::vector<uint8_t> expected{5, 6, 7, 8, 0, 0, 0}; in TEST() local
61 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
62 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
67 const std::vector<uint8_t> expected{8, 7, 6, 5, 5, 0, 0, 0, 0, 0}; in TEST() local
68 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
69 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
80 const std::vector<uint8_t> expected{8, 7, 6, 5, 3, 10, 11, 12}; in TEST() local
81 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
82 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
87 std::vector<uint8_t> expected{8, 7, 6, 5, 0, 1, 0}; in TEST() local
88 expected.resize(expected.size() + 256, 0); in TEST()
89 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
90 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
97 std::vector<uint8_t> expected{8, 7, 6, 5, 0, 255, 255}; in TEST() local
98 expected.resize(expected.size() + 65535, 7); in TEST()
99 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
100 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
105 const std::vector<uint8_t> expected{1, 3, 5, 7, 2, 0, 0, 3}; in TEST() local
106 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
107 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
116 const std::vector<uint8_t> expected{1, 3, 5, 7, 1, 8, 90}; in TEST() local
117 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
118 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
123 const std::vector<uint8_t> expected{1, 3, 5, 7, 2, 0, 0, 0}; in TEST() local
124 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
125 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
130 std::vector<uint8_t> expected{1, 3, 5, 7, 0, 2, 15}; in TEST() local
131 expected.resize(expected.size() + 527, 0); in TEST()
132 expected.push_back(1); in TEST()
133 expected.push_back(93); in TEST()
134 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
135 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
140 std::vector<uint8_t> expected{1, 3, 5, 7, 0, 0, 20}; in TEST() local
141 expected.resize(expected.size() + 20, 0); in TEST()
142 expected.push_back(0); in TEST()
143 expected.push_back(0); in TEST()
144 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
145 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
173 const uint8_t expected[] = {1, 2, 3, 9, 8, 7}; in TEST() local
175 std::begin(expected), std::end(expected))); in TEST()