def test_derive_no_auto(self): descs = buildsections('Descending', [4, 13], [15, 27]) eng_np = P(name='Eng (*) Np Max', array=np.ma.ones(30) * 100) nr = P(name='Nr', array=np.ma.ones(30) * 100) node = Autorotation() node.derive(eng_np, nr, descs) self.assertEqual(len(node), 0)
def test_derive_no_auto(self): descs = buildsections('Descending', [4,13], [15,27]) eng_np = P(name='Eng (*) Np Max', array=np.ma.ones(30) * 100) nr = P(name= 'Nr', array=np.ma.ones(30) * 100) node = Autorotation() node.derive(eng_np , nr, descs) self.assertEqual(len(node), 0)