☰
Debian Codegraph
@
0.2.3-2
/
/
debian
/
tests
/
match
☽
☼
debian/tests/match
code
plain
raw
AGPL-3.0-or-later
2023 FC Stegerman <
[email protected]
>
debian/copyright
1
#!/bin/bash
2
set -ex
3
export LC_ALL=C.UTF-8
4
strokes='[[137.7, 17.85, 33.15, 243.525], [91.8, 107.7375, 224.4, 228.8625]]'
5
best_match="$(python3 -c "
6
from kanjidraw.lib import matches
7
print(next(matches($strokes))[1])
8
")"
9
test "$best_match" = 人