관리-도구
편집 파일: test_ER.cpython-37.pyc
B �]�( � @ s\ d dl mZ G dd� dej�ZG dd� de�Zddd�ZedkrXd d lmZ e� e� d S )� )�supportc @ s e Zd ZdS )�TestCaseN)�__name__� __module__�__qualname__� r r �K/opt/alt/python37/lib64/python3.7/site-packages/guppy/heapy/test/test_ER.pyr s r c @ s^ e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zddd�Z dd� Z dd� Zdd� ZdS )� FirstCasec C sV | j j}d|_|�dddddd�}|j|j@ }|| }G dd � d �}|�|jg �}d S ) Nzhp.� � Zasdfg333333@g������ @� c @ s e Zd ZdS )zFirstCase.test_1.<locals>.CN)r r r r r r r �C) s r )�heapy�Use�reprefix�iso�Type�Size�__dict__)�self�hp�a�ts�kr �dir r r �test_1 s zFirstCase.test_1c C s� | j j}d|_G dd� d�}G dd� dt�}|� }|� }ddl}xBdD ]:}t|||||d �i �}t|�} | �t| d |ii �|� qFW xhtd�D ]\\} }| d }t|d |ii �}t |j �d }| �|j|� t|�} | �t| d |ii �|� q�W dS ) z, Systematically test all kind constructors: zhp.c @ s e Zd ZdS )zFirstCase.test_2.<locals>.CN)r r r r r r r r <