o
    oi                     @   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 )
	TestMoneycasedsvF)
input_caselang	cache_diroverwrite_cacheNz/sv/data_text_normalization/test_cases_money.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_sv	normalizenormalizer_sv_with_audio)self
test_inputexpectedpredpred_non_deterministic r   \/home/ubuntu/.local/lib/python3.10/site-packages/tests/nemo_text_processing/sv/test_money.py	test_norm"   s   zTestMoney.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   