관리-도구
편집 파일: test_polynomial.cpython-37.pyc
B ��Fd�J � @ s� d Z ddlmZmZmZ ddlZddlm mZ ddl mZmZm Z mZmZmZ dd� ZdgZddgZddd gZdd ddgZddddd gZddddddgZdddddddgZddddddddgZdddddddddg Zdddddddddd g Zeeeeeeeeeeg ZG d!d"� d"e�ZG d#d$� d$e�ZG d%d&� d&e�ZG 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/d0� d0e�Z$e%d1k�r�e� dS )2zTests for polynomial module. � )�division�absolute_import�print_functionN)�TestCase�assert_almost_equal� assert_raises�assert_equal�assert_�run_module_suitec C s t j| dd�S )Ng���ư>)�tol)�poly�polytrim)�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_polynomial.py�trim s r � ���� ���� i����� � i��� � i���� i�����8 i�����@ i��� i ���� � i����i� i����� c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) � TestConstantsc C s t tjddg� d S )Nr r )r r � polydomain)�selfr r r �test_polydomain s zTestConstants.test_polydomainc C s t tjdg� d S )Nr )r r �polyzero)r$ r r r � test_polyzero# s zTestConstants.test_polyzeroc C s t tjdg� d S )Nr )r r �polyone)r$ r r r �test_polyone&