source:
utilitiespy/test/immutablelist/TupleTest.py@
648
Last change on this file since 648 was 314, checked in by , 3 years ago | |
---|---|
File size: 251 bytes |
Rev | Line | |
---|---|---|
[314] | 1 | from random import random |
2 | import unittest | |
3 | from tudelft.utilities.immutablelist.Tuple import Tuple | |
4 | ||
5 | class TupleTest(unittest.TestCase): | |
6 | ||
7 | def testEqual(self): | |
8 | d = random() | |
9 | t1 = Tuple("Agent0", d) | |
10 | t2 = Tuple("Agent0", d) | |
11 | self.assertEqual(t1,t2) |
Note:
See TracBrowser
for help on using the repository browser.