'Test that invalid cutoff argument raises ValueError.'

def test_bad_cutoff(self):

    assert_raises(ValueError, firwin, 99, (-0.5))
    assert_raises(ValueError, firwin, 99, 1.5)
    assert_raises(ValueError, firwin, 99, [0, 0.5])
    assert_raises(ValueError, firwin, 99, [0.5, 1])
    assert_raises(ValueError, firwin, 99, [0.1, 0.5, 0.2])
    assert_raises(ValueError, firwin, 99, [0.1, 0.5, 0.5])
    assert_raises(ValueError, firwin, 99, [])
    assert_raises(ValueError, firwin, 99, [[0.1, 0.2], [0.3, 0.4]])
    assert_raises(ValueError, firwin, 99, 50.0, nyq=40)
    assert_raises(ValueError, firwin, 99, [10, 20, 30], nyq=25)
