Commit 38bf273c authored by Vladimir Paun's avatar Vladimir Paun
Browse files

test bin

parent 2b7473e1
import random
import unittest
class TestSequenceFunctions(unittest.TestCase):
# def setUp(self):
# self.seq = range(10)
def test_shuffle(self):
from binary import Binary
class Test(unittest.TestCase):
def setUp(self):
self.binary = Binary(6)
binary = Binary(6)
assert int(binary) == 6
# # make sure the shuffled sequence does not lose any elements
# random.shuffle(self.seq)
# self.seq.sort()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment