o
    oi3                     @   sR   d dl Z d dlmZ d dlmZ d dlmZ ddlmZmZm	Z	 G dd dZ
dS )	    N)parameterized)
Normalizer)NormalizerWithAudio   )	CACHE_DIRRUN_AUDIO_BASED_TESTSparse_test_case_filec                   @   s^   e Zd ZeddeddZereddeddndZe	
edejdejjdd	 ZdS )
TestMathcasedenF)
input_caselang	cache_diroverwrite_cacheNz.en/data_text_normalization/test_cases_math.txtCPUc                 C   sH   | j j|dd}||ksJ | jr | jj|ddd}||v s"J d S d S )NF)verbose   )n_taggedpunct_post_process)normalizer_en	normalizenormalizer_with_audio_en)self
test_inputexpectedpredpred_non_deterministic r   [/home/ubuntu/.local/lib/python3.10/site-packages/tests/nemo_text_processing/en/test_math.py	test_norm!   s   zTestMath.test_norm)__name__
__module____qualname__r   r   r   r   r   r   r   expandr   pytestmarkrun_only_onunitr   r   r   r   r   r	      s    
r	   )r$   r   1nemo_text_processing.text_normalization.normalizer   <nemo_text_processing.text_normalization.normalize_with_audior   utilsr   r   r   r	   r   r   r   r   <module>   s   