mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-30 04:07:42 +00:00
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)
18 lines
345 B
Text
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')
|