Files
TTS/tests/symbols_tests.py
T
2019-08-16 15:08:04 +02:00

9 lines
278 B
Python

import unittest
from utils.text import phonemes
from collections import Counter
class SymbolsTest(unittest.TestCase):
def test_uniqueness(self):
assert sorted(phonemes) == sorted(list(set(phonemes))), " {} vs {} ".format(len(phonemes), len(set(phonemes)))