Skip to content
Snippets Groups Projects
Commit 9592721a authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

ok

parent 24652e9b
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@ from __future__ import print_function, absolute_import, division
import six
import logging
import re
from satella.coding import for_argument
import functools
import math
......
......@@ -2,16 +2,15 @@
from __future__ import print_function, absolute_import, division
import six
import unittest
from firanka.series.range import Range
from firanka.series import Range
class TestRange(unittest.TestCase):
def test_intersection(self):
self.assertFalse(Range(-10, -1, True, True).intersection('<2;3>'))
self.assertFalse(Range(-10, -1, True, False).intersection('(-1;3>'))
self.assertFalse(Range('<-10;-1)').intersection('<-1;1>'))
def test_str(self):
self.assertEqual(str(Range(-1, 1, True, True)), '<-1;1>')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment