summaryrefslogtreecommitdiff
path: root/unittest/test.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan.zalega@gmail.com>2016-03-05 13:21:04 +0100
committerSzczepan Zalega <szczepan.zalega@gmail.com>2016-03-05 13:21:04 +0100
commit270672ff5320169ef26cd4414cfe7dc8696351c6 (patch)
tree4a43f8079c0cda7083652aeba15a9300851d6667 /unittest/test.cc
parent5e6793c09dd1e852a28d2b592ad1139f2c9305ed (diff)
downloadlibnitrokey-270672ff5320169ef26cd4414cfe7dc8696351c6.tar.gz
libnitrokey-270672ff5320169ef26cd4414cfe7dc8696351c6.tar.bz2
adding status check for each iteration
Diffstat (limited to 'unittest/test.cc')
-rw-r--r--unittest/test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittest/test.cc b/unittest/test.cc
index 9d1423c..7081144 100644
--- a/unittest/test.cc
+++ b/unittest/test.cc
@@ -26,10 +26,11 @@ int main() {
}
{
- for (int i=0x20; i<0x23; i++) {
+ for (int i=0x20; i<0x25; i++) {
ReadSlot::CommandTransaction::CommandPayload slot_req;
slot_req.slot_number = i;
auto slot = ReadSlot::CommandTransaction::run(stick, slot_req);
+ auto resp = GetStatus::CommandTransaction::run(stick);
}
}
stick.disconnect();