From 680408db61de456b6d76e068d4ee8a829f2dfff1 Mon Sep 17 00:00:00 2001 From: gongcastro Date: Mon, 6 Jul 2026 15:03:11 +0200 Subject: [PATCH] Add testing for method len --- tests/test_mbrola.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_mbrola.py b/tests/test_mbrola.py index 32435a7..d752d8f 100644 --- a/tests/test_mbrola.py +++ b/tests/test_mbrola.py @@ -68,6 +68,10 @@ def test_copy(self, mb_fix): assert copy == mb_fix assert copy is not mb_fix + def test_len(self, mb_fix): + assert len(mb_fix) == 5 + assert len(mb_fix) == len(mb_fix.phon) + class TestPho: def test_pho(self, mb_fix):