Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
opt
›
alt
›
python38
›
lib64
›
python3.8
›
test
›
__pycache__
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_fractions.cpython-38.pyc
← Back
U i�fWw � @ s� d Z ddlmZ ddlmZ ddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl m Z mZ ddlmZmZ ejZejZG dd� de�ZG d d � d e�ZG dd� dej�ZG d d� dej�Zdd� ZG dd� dej�Zedkr�e�� dS )zTests for Lib/fractions.py.� )�Decimal)�requires_IEEE_754N)�copy�deepcopy)�dumps�loadsc @ s\ e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zdd� ZeZ dS )� DummyFloatz8Dummy float class for testing comparisons with Fractionsc C s t |t�std��|| _d S )Nz-DummyFloat can only be initialized from float)� isinstance�float� TypeError�value��selfr � r �8/opt/alt/python38/lib64/python3.8/test/test_fractions.py�__init__ s zDummyFloat.__init__c C s>