You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/tests/issues/1032/test.ktest

116 lines
2.5 KiB

VERSION 1
KEYSWITCH SYSTER 0 0
KEYSWITCH A 1 0
KEYSWITCH B 1 1
KEYSWITCH C 1 2
KEYSWITCH ZERO 2 0
KEYSWITCH ONE 2 1
KEYSWITCH SPACE 3 0
# ==============================================================================
NAME Syster sequence without zero
RUN 4 ms
PRESS SYSTER
RUN 1 cycle
RUN 4 ms
RELEASE SYSTER
RUN 1 cycle
RUN 4 ms
PRESS A
RUN 1 cycle
EXPECT keyboard-report Key_A # The report should contain only `A`
RUN 4 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
PRESS B
RUN 1 cycle
EXPECT keyboard-report Key_B # The report should contain only `B`
RUN 4 ms
RELEASE B
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
PRESS C
RUN 1 cycle
EXPECT keyboard-report Key_C # The report should contain only `C`
RUN 4 ms
RELEASE C
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
PRESS SPACE
RUN 1 cycle
EXPECT keyboard-report Key_Backspace # The report should contain `backspace`
EXPECT keyboard-report empty # The report should be empty
EXPECT keyboard-report Key_Backspace # The report should contain `backspace`
EXPECT keyboard-report empty # The report should be empty
EXPECT keyboard-report Key_Backspace # The report should contain `backspace`
EXPECT keyboard-report empty # The report should be empty
EXPECT keyboard-report Key_X # The report should contain `X`
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
RELEASE SPACE
RUN 1 cycle
RUN 10 ms
# ==============================================================================
NAME Syster sequence with zero
RUN 4 ms
PRESS SYSTER
RUN 1 cycle
RUN 4 ms
RELEASE SYSTER
RUN 1 cycle
RUN 4 ms
PRESS A
RUN 1 cycle
EXPECT keyboard-report Key_A # The report should contain only `A`
RUN 4 ms
RELEASE A
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
PRESS ZERO
RUN 1 cycle
EXPECT keyboard-report Key_0 # The report should contain only `0`
RUN 4 ms
RELEASE ZERO
RUN 1 cycle
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
PRESS SPACE
RUN 1 cycle
EXPECT keyboard-report Key_Backspace # The report should contain `backspace`
EXPECT keyboard-report empty # The report should be empty
EXPECT keyboard-report Key_Backspace # The report should contain `backspace`
EXPECT keyboard-report empty # The report should be empty
EXPECT keyboard-report Key_Y # The report should contain `Y`
EXPECT keyboard-report empty # The report should be empty
RUN 4 ms
RELEASE SPACE
RUN 1 cycle
RUN 10 ms