Ñò ]ÐKc @ sS d d k Z d d k Z d d k Z d d k Td d k Z d e f d „ ƒ YZ d e e i f d „ ƒ YZ d e f d „ ƒ YZ d e e i f d „ ƒ YZ d e e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ e d j o e ƒ n d S( iÿÿÿÿN( t *t _GenericTestc B sG e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s | i | | ƒ d S( N( t _assert_func( t selft at b( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt _test_equal s c C s@ y | i | | ƒ t } Wn t j o n Xt d ƒ ‚ d S( Ns# a and b are found equal but are not( R t Truet AssertionError( R R R t passed( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt _test_not_equal s c C s> t i d d g ƒ } t i d d g ƒ } | i | | ƒ d S( s/ Test two equal array of rank 1 are found equal.i i N( t npt arrayR ( R R R ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt test_array_rank1_eq s c C s> t i d d g ƒ } t i d d g ƒ } | i | | ƒ d S( s7 Test two different array of rank 1 are found not equal.i i N( R R R ( R R R ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt test_array_rank1_noteq s c C sV t i d d g d d g g ƒ } t i d d g d d g g ƒ } | i | | ƒ d S( s/ Test two equal array of rank 2 are found equal.i i i i N( R R R ( R R R ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt test_array_rank2_eq# s !!c C sJ t i d d g ƒ } t i d d g d d g g ƒ } | i | | ƒ d S( s: Test two arrays with different shapes are found not equal.i i N( R R R ( R R R ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt test_array_diffshape* s !c C s2 t i d d g d t i ƒ} | i | d ƒ d S( s Test object arrays.i t dtypeN( R R t objectR ( R R ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt test_objarray1 s ( t __name__t __module__R R R R R R R ( ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyR s t TestArrayEqualc B s> e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s t | _ d S( N( t assert_array_equalR ( R ( ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt setUp7 s c sO ‡ f d † } x d D] } | | ƒ q Wx d d g D] } | | ƒ q7 Wd S( s! Test rank 1 array for all dtypes.c sh t i d | ƒ } | i d ƒ | i ƒ } | i ƒ } | i d ƒ ˆ i | | ƒ ˆ i | | ƒ d S( Ni i i ( R t emptyt fillt copyR R ( t tR R t c( R ( sD /usr/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.pyt foo<