관리-도구
편집 파일: test_index_tricks.cpython-37.pyc
B ��Fdd4 � @ s d dl mZmZmZ d dlZd dlmZmZm Z m Z mZmZm Z mZ d dlmZmZmZmZmZmZmZmZmZmZ G dd� de�ZG dd� de�ZG d d � d e�ZG dd� de�ZG d d� de�ZG dd� de�Zdd� Z dd� Z!dd� Z"dd� Z#dd� Z$e%dk�re� dS )� )�division�absolute_import�print_functionN)�run_module_suite�TestCase�assert_�assert_equal�assert_array_equal�assert_almost_equal�assert_array_almost_equal� assert_raises) �mgrid�ndenumerate� fill_diagonal�diag_indices�diag_indices_from� index_exp�ndindex�r_�s_�ix_c @ s4 e Zd Zdd� Zdd� Zdd� Zdd� Zd d � ZdS )�TestRavelUnravelIndexc C s t t�dd�d� t t�dd�d� t t�dd�d� t t�dd�d� tttjdd� tttjdd� tttjd d� tttjd d� tttjdd� tttjdd� tttjd d� tttjdd� t t�dd�ddd g� t t�ddd gd�d� t�dddgd ddgg�}t t�|d�dddg� t tj|ddd�dddg� t tj|ddd�dd d!g� t tj|d"d#d�d$ddg� t t�d%d&�d'� t t�t�dddg�d�dddgd ddgg� t tjt�dddg�ddd�dddgd ddgg� t t�d'd&�ddd dg� d S )(N� )r r )� r � )� �^ )r �B ���g �?� )���r )r r )r r )r r )g�������?g �. )r � � r r"