ó
¡¼™\c           @   sğ   d  d l  m Z m Z m Z m Z d  d l m Z m Z e d d ƒ Z e d e ƒ Z	 e d e	 d d g ƒ Z
 e d e	 ƒ Z e d	 ƒ \ Z Z e d
 ƒ Z e
 j ƒ  \ Z Z e
 j ƒ  \ Z Z e
 j ƒ  \ Z Z d „  Z d „  Z d „  Z d S(   iÿÿÿÿ(   t   Manifoldt   Patcht   CoordSystemt   Point(   t   symbolst   Functiont   mi   t   pt   cst   at   bs   x yt   fc          C   sX   t  t t t g ƒ }  |  |  j |  j Œ  k s3 t ‚ |  t  t d t g ƒ k sT t ‚ d  S(   Ni   (   R   R   t   xt   yt   funct   argst   AssertionError(   t   point(    (    sH   lib/python2.7/site-packages/sympy/diffgeom/tests/test_class_structure.pyt
   test_point   s    c           C   sÖ   t  t  j t  j Œ  k s t ‚ t t j t j Œ  k s< t ‚ t t j t j Œ  k sZ t ‚ t t j t j Œ  k sx t ‚ t t j t j Œ  k s– t ‚ t t j t j Œ  k s´ t ‚ t	 t	 j t	 j Œ  k sÒ t ‚ d  S(   N(
   R   R   R   R   R   R   t	   cs_nonamet   s1t   v1t   f1(    (    (    sH   lib/python2.7/site-packages/sympy/diffgeom/tests/test_class_structure.pyt   test_rebuild   s    c           C   s  t  j t  t ƒ t k s t ‚ t j t t ƒ t k s< t ‚ t j t t ƒ t k sZ t ‚ t t	 t  ƒ t
 j t  t ƒ t t	 t ƒ t
 k s” t ‚ t	 t  ƒ t j t t ƒ t	 t  ƒ t k sÆ t ‚ t
 t	 t  ƒ t j t t ƒ t
 t	 t  ƒ t k s t ‚ d  S(   N(   R   t   subst   s2R   R   t   v2R   t   f2R   R   R   (    (    (    sH   lib/python2.7/site-packages/sympy/diffgeom/tests/test_class_structure.pyt	   test_subs!   s    :2N(   t   sympy.diffgeomR    R   R   R   t   sympyR   R   R   R   R   R   R   R   R   t   coord_functionsR   R   t   base_vectorsR   R   t   base_oneformsR   R   R   R   R   (    (    (    sH   lib/python2.7/site-packages/sympy/diffgeom/tests/test_class_structure.pyt   <module>   s   "		
