Skip to content

Commit 62fe2cd

Browse files
committed
Add new test
1 parent 92379e7 commit 62fe2cd

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ Currently, many things must be improved:
124124
Author
125125
------
126126

127-
`Pablo Pizarro R. <https://ppizarror.com>`_ | 2021 - 2025
127+
`Pablo Pizarro R. <https://ppizarror.com>`_ | 2021 - 2026

test/test_utils.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,16 @@ def test_get_tex_commands_args(self) -> None:
436436
self.assertEqual(ut.get_tex_commands_args(s), (('command', ('[not_optional]', False)),))
437437
s = 'This is \\command [optional]'
438438
self.assertEqual(ut.get_tex_commands_args(s), (('command', ('optional', True)),))
439+
s = """
440+
\institutionentry{\msc \lng{%
441+
en Ciencias, Mención Computación}{in Computer Science%
442+
}}{2021}{2023}{\lng{%
443+
Desarrollo de pipelines de aprendizaje profundo para vectorización, reconstrucción geométrica y evaluación de datos visuales a gran escala%
444+
}{%
445+
Developed deep learning pipelines for vectorization, geometric reconstruction, and evaluation of large-scale visual data%
446+
}\short{.}\\full{, \\thesistitle[196842]{Wall polygon retrieval from architectural floor plan images using vectorization and deep learning methods}} \\firstclass{2023}}
447+
"""
448+
self.assertEqual(len(ut.get_tex_commands_args(s)[0]), 5)
439449

440450
def test_find_tex_commands_no_argv(self) -> None:
441451
"""

0 commit comments

Comments
 (0)