mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
tests/swipe_parity.rs reads the committed fixture (800 swipes per language from SwipeParityExportTests) and, with HEX_SWIPE_PARITY, a larger export, and asserts the Rust decoder's readings equal the oracle's: candidates, order, scored, and cost bits. serde_json and sha2 are dev-dependencies.
20 lines
383 B
TOML
20 lines
383 B
TOML
[package]
|
|
name = "hex-keyboard-core"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
name = "hex_keyboard_core"
|
|
|
|
[dependencies]
|
|
unicode-normalization = "0.1"
|
|
|
|
[dev-dependencies]
|
|
# The swipe parity test's fixture (tests/swipe_parity.rs): JSON Lines, and the models' SHA-256.
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
|
|
[lints]
|
|
workspace = true
|