관리-도구
편집 파일: test_View.cpython-37.opt-1.pyc
B �]� � @ sz d dl mZ G dd� dej�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d d� de�Zddd �Zedkrve� dS )� )�supportc @ s e Zd Zdd� ZdS )�TestCasec C s t j�| � | jjj| _d S )N)r r �setUp�heapyZUniSet�types)�self� r �M/opt/alt/python37/lib64/python3.7/site-packages/guppy/heapy/test/test_View.pyr s zTestCase.setUpN)�__name__� __module__�__qualname__r r r r r r s r c @ sD e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dS )� FirstCasec C s | j }| j}g }g }||�}||�}||B }| �|jj| jjk� | �||B jj| jjk� | �|�||��j| jjk� | �|�||��j| jjk� g }| jjj |gg d�} ||�} ~| �| jjt | jj� � �k� | j �� }| �|| �| j �@ | j j� | �|| �| j j�@ | j j� d S )N)Z hiding_tag)�View�iso� assertTrue� referrersZkindr � FrameType�guppy�sets� immnodeset�type�heap�aseq�UseZNothing�__dict__)r �Vr �a�bZas_ZbsZab�cZcholdZcs�hr r r �test_cal_hiding s, zFirstCase.test_cal_hidingc C s� | j }g }|g g}|g}| �||�j|||d �� | �||�j|||d �j� | �||�j||�� ~| �||�j|||d |d d �� d S )N� r )r r ZdominosZdomisize�indisize)r r �x�y�zr r r �test_dominos- s zFirstCase.test_dominosc C s: | j }g }|g g}|g}||�jj}| �|||�j� d S )N)r � referentsr"