def test_isstable_2(self): # Test case for IIR filter fil = IIRDesign.butter(self.n, self.fc) self.assertTrue(FilterSpec.isstable(fil) == True)
def test_isstable_1(self): # Test case for FIR filter fil = FIRDesign.fir1(self.order, self.cut) self.assertTrue(FilterSpec.isstable(fil) == True)