PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/alt/alt-nodejs6/root/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/
Upload File :
Current File : //opt/alt/alt-nodejs6/root/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.pyo

�
�Rac@s`dZddlZddlZddlZdejfd��YZedkr\ej�ndS(s!Unit tests for the input.py file.i����NtTestFindCyclescBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cCs7i|_x'dD]}tjj|�|j|<qWdS(Ntatbtctdte(RRRRR(tnodestgyptinputtDependencyGraphNode(tselftx((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pytsetUps	
cCs$|jj|�|jj|�dS(N(tdependenciestappendt
dependents(R
t	dependentt
dependency((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyt_create_dependencyscCs:x3|jj�D]"\}}|jg|j��qWdS(N(Rt	iteritemstassertEqualst
FindCycles(R
tlabeltnode((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_no_cycle_empty_graphscCs�|j|jd|jd�|j|jd|jd�|j|jd|jd�x3|jj�D]"\}}|jg|j��qjWdS(NRRRR(RRRRR(R
RR((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_no_cycle_lines
cCs�|j|jd|jd�|j|jd|jd�|j|jd|jd�x3|jj�D]"\}}|jg|j��qjWdS(NRRR(RRRRR(R
RR((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_no_cycle_dag$s
cCsV|j|jd|jd�|j|jd|jdgg|jdj��dS(NR(RRRR(R
((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_cycle_self_reference,s cCs�|j|jd|jd�|j|jd|jd�|j|jd|jd|jdgg|jdj��|j|jd|jd|jdgg|jdj��dS(NRR(RRRR(R
((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_cycle_two_nodes2s**cCs|j|jd|jd�|j|jd|jd�|j|jd|jd�|j|jd|jd�|jdj�}|j|jd|jd|jdg|k�|j|jd|jd|jdg|k�|jdt|��dS(NRRRi(RRRt
assertTrueRtlen(R
tcycles((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_two_cycles;s++cCs�|j|jd|jd�|j|jd|jd�|j|jd|jd�|j|jd|jd�|j|jd|jd�|j|jd|jd|jd|jd|jd|jdgg|jdj��dS(NRRRRR(RRRR(R
((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyttest_big_cycleIs



(t__name__t
__module__RRRRRRRR R!(((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyRs									t__main__(	t__doc__t	gyp.inputRtunittesttsystTestCaseRR"tmain(((sl/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/input_test.pyt<module>sK

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic