%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/positioning/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/positioning/test/__pycache__/test_base.cpython-312.pyc |
� Ϫ�f\t � �@ � d Z ddlmZ ddlmZ ddlmZ ddlmZm Z ddl mZ ddlm Z G d� d e � Z G d � de � Z G d� d e � Zdd�Zdd�Z G d� de � Z G d� de � Z G d� de � Z G d� de � Z G d� de � Z G d� de � Z G d� de � Zy) z( Test cases for positioning primitives. � )�annotations)�verify)�base)�Angles� Directions)�IPositioningBeacon)�TestCasec �0 � e Zd ZdZdd�Zdd�Zdd�Zdd�Zy)� AngleTestsz@ Tests for the L{twisted.positioning.base.Angle} class. c �b � t j � }| j dt |� � y)zd The repr of an empty angle says that is of unknown type and unknown value. z'<Angle of unknown type (unknown value)>N�r �Angle�assertEqual�repr��self�as �D/usr/lib/python3/dist-packages/twisted/positioning/test/test_base.py� test_emptyzAngleTests.test_empty s$ � � �J�J�L�����B�D��G�L� c � � t j t j �� }| j dt |� � y)zf The repr of an empty variation says that it is a variation of unknown value. �� angleTypez<Variation (unknown value)>N)r r r � VARIATIONr r r s r �test_variationzAngleTests.test_variation s- � � �J�J��!1�!1�2�����6��Q��@r c �d � t j d� }| j dt |� � y)zz The repr of an angle of unknown type but a given value displays that type and value in its repr. � �?z%<Angle of unknown type (1.0 degrees)>Nr r s r �test_unknownTypezAngleTests.test_unknownType% s&