1234567891011121314 |
- # -*- coding: utf-8 -*-
- import pytest
- import datetime
- import dingguo
- import yaml
- import os
- def test_sum_init():
- assert dingguo.Sum(1.23, u'EUR') == dingguo.Sum(1.23, u'€')
- def test_distance_metres():
- assert int(dingguo.Distance(1.23, u'km').metres) == 1230
|