mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
15 lines
237 B
C++
15 lines
237 B
C++
#include <quiz.h>
|
|
#include <ion.h>
|
|
#include <assert.h>
|
|
|
|
using namespace Ion::Keyboard;
|
|
|
|
QUIZ_CASE(ion_keyboard) {
|
|
for (Key k : ValidKeys) {
|
|
for (Key l : ValidKeys) {
|
|
quiz_assert(State(k).keyDown(l) == (k == l));
|
|
}
|
|
}
|
|
}
|
|
|