관리-도구
편집 파일: test_classes.cpython-37.pyc
B ��FdlG � @ s� d Z ddlmZmZmZ ddlZddlmZ ddl Z ddlmZm Z mZmZmZmZ ddlmZmZmZmZmZ ddlmZ ee eeeefZdd � Ze jjZdFdd�Zd d� Zdd� Zdd� Z dd� Z!dd� Z"dd� Z#dd� Z$dd� Z%dd� Z&dd � Z'd!d"� Z(d#d$� Z)d%d&� Z*d'd(� Z+d)d*� Z,d+d,� Z-d-d.� Z.d/d0� Z/d1d2� Z0d3d4� Z1d5d6� Z2d7d8� Z3d9d:� Z4d;d<� Z5d=d>� Z6d?d@� Z7dAdB� Z8dCdD� Z9e:dEk�r�e� dS )Gz�Test inter-conversion of different polynomial classes. This tests the convert and cast methods of all the polynomial classes. � )�division�absolute_import�print_functionN)�Number)� Polynomial�Legendre� Chebyshev�Laguerre�Hermite�HermiteE)�assert_almost_equal� assert_raises�assert_equal�assert_�run_module_suite)�longc c sN x2t D ]*} x$t D ]}t| |fV t| |fV qW qW �xt D �]}t|fV t|fV t|fV t|fV t|fV t|fV t |fV t |fV t|fV t|fV t |fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV t|fV q<W d S )N)�classes�check_conversion� check_cast� check_call�check_identity�check_basis�check_fromroots� check_fit�check_equal�check_not_equal� check_add� check_sub� check_mul�check_floordiv� check_truediv� check_mod�check_divmod� check_pow�check_integ�check_deriv�check_roots�check_linspace�check_mapparms�check_degree� check_copy�check_cutdeg�check_truncate� check_trim�check_ufunc_override)�Poly1�Poly2�Poly� r2 ��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/polynomial/tests/test_classes.py�test_class_methods s>