Commit Graph

3 Commits

Author SHA1 Message Date
ea5abfe149 python: Implement phogen encode
Implement phogen.encode() to encode Bhashes to phogen strings. This
commit also adds unit tests for the above function.
2021-11-09 19:26:03 +01:00
52935bc765 python: Add bhash tests 2021-09-28 11:36:21 +02:00
3852c4efc9 meson: Add unit test framework
This commit also adds the first unit test. The unit test compares the
phonetic map generated by the Python and by the C implementation and
fails if the generated maps are different.
2021-09-28 11:36:20 +02:00