def test_synthesizeNTF_1(self):
        """Test function for synthesizeNTF() 1/15"""
        # synthesizeNTF should have as default values:
        # order=3, osr=64, opt=0, H_inf=1.5, f0=0.0
        z, p, k = synthesizeNTF()
        zref = [1., 1., 1.]
        pref = [.6694, .7654 + .2793j, .7654 - .2793j]
        kref = 1.
        self.assertTrue(np.allclose(cpx(z), cpx(zref), atol=1e-4, rtol=1e-4))
        self.assertTrue( np.allclose(cpx(p), cpx(pref), atol=1e-4, rtol=1e-4))
        self.assertTrue( np.allclose(k, kref, atol=1e-4, rtol=1e-4))
dataset/ETHPy150Open ggventurini/python-deltasigma/deltasigma/tests/test_synthesizeNTF.py/TestSynthesizeNTF.test_synthesizeNTF_1/original