spiegel-keyman/common/test/keyboards/baseline/k_021___options.kmn
Marc Durdin c18ef54029 refactor(common): move core baseline tests into common
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).

* Moves .kmn files, add `&NAME` line (don't use meson templating for
  these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
  kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
  (this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00

18 lines
345 B
Text

store(&NAME) '021 - options'
c Description: Tests basic option rules
c keys: [K_A][K_1][K_A][K_0][K_A]
c expected: no foo.foo.no foo.
c context:
store(&version) '10.0'
store(foo) '0'
begin Unicode > use(Main)
group(Main) using keys
if(foo = '1') + 'a' > 'foo.'
if(foo = '0') + 'a' > 'no foo.'
+ '1' > set(foo = '1')
+ '0' > set(foo = '0')