mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-29 09:18:21 +00:00
Fix test
This commit is contained in:
@@ -16,4 +16,8 @@ class TestEnglishSymbols:
|
|||||||
|
|
||||||
def test_grapheme_word(self):
|
def test_grapheme_word(self):
|
||||||
output = symbols_to_sequence('test')
|
output = symbols_to_sequence('test')
|
||||||
assert output == [57, 42, 56, 57]
|
assert output == [57, 42, 56, 57]
|
||||||
|
|
||||||
|
def test_grapheme_sentence(self):
|
||||||
|
output = symbols_to_sequence('this is a test.')
|
||||||
|
assert output == [57, 45, 46, 56, 11, 46, 56, 11, 38, 11, 57, 42, 56, 57, 7]
|
||||||
Reference in New Issue
Block a user