|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/django/contrib/gis/tests/ |
Upload File : |
�
r�\c @ s� d Z d d l m Z m Z m Z m Z d d l m Z d e j f d � � YZ d e j f d � � YZ
d � Z d d
� Z e
d k r� e � n d S(
ss
Distance and Area objects to allow for sensible and convienient calculation
and conversions. Here are some tests.
i����( t Distancet Areat Dt A( t unittestt DistanceTestc B sh e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z d
� Z RS( s Testing the Distance objectc
C s\ t d d � } | j | j d � t d d � t d d � t d d � } } } x* | | | f D] } | j | j d � qa Wt d d � } | j | j d � t d d � t d d � t d d � } } } x* | | | f D] } | j | j d � q� Wt d
d � t d d � } } x: | | f D], } | j | j d
� | j | j d � q(Wd S( s'