def test_freq2wave(): with pytest.raises(ZeroDivisionError): Dataset.wave2freq(Dataset.freq2wave(0))
def test_wave2freq(val): before = val after = Dataset.wave2freq(Dataset.freq2wave(val)) assert before == after
def test_freq2wave(): with pytest.raises(ZeroDivisionError): Dataset.wave2freq(Dataset.freq2wave(0))
def test_wave2freq(val): before = val after = Dataset.wave2freq(Dataset.freq2wave(val)) assert before == after