관리-도구
편집 파일: test_legendre.cpython-37.pyc
B ��FdVF � @ s$ d Z ddlmZmZmZ ddlZddlm m Z ddlmZ ddl mZmZmZmZmZmZ e�dg�Ze�ddg�Ze�dddg�d Ze�dd ddg�d Ze�ddddd g�d Ze�ddddddg�d Ze�dddddddg�d Ze�ddddddddg�d Ze�d ddddddddg �d Ze�dddd dd!dd"dd#g �d Zeeeeeeeeeeg Zd$d%� Z G d&d'� d'e�Z!G d(d)� d)e�Z"G d*d+� d+e�Z#G d,d-� d-e�Z$G d.d/� d/e�Z%G d0d1� d1e�Z&G d2d3� d3e�Z'G d4d5� d5e�Z(G d6d7� d7e�Z)G d8d9� d9e�Z*e+d:k�r e� dS );zTests for legendre module. � )�division�absolute_import�print_functionN)�polyval)�TestCase�assert_almost_equal� assert_raises�assert_equal�assert_�run_module_suite� ���� � ���� i���# � � i�����? ����i i����� � i���i; iK���i� i���i i��i# � i��ibF it���i{/ c C s t j| dd�S )Ng���ư>)�tol)�leg�legtrim)�x� r ��/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_legendre.py�trim s r! c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) � TestConstantsc C s t tjddg� d S )Nr r )r r � legdomain)�selfr r r �test_legdomain! s zTestConstants.test_legdomainc C s t tjdg� d S )Nr )r r �legzero)r$ r r r �test_legzero$ s zTestConstants.test_legzeroc C s t tjdg� d S )Nr )r r �legone)r$ r r r �test_legone'