source: utilitiespy/test/immutablelist/TupleTest.py@ 1360

Last change on this file since 1360 was 314, checked in by wouter, 3 years ago

#105 added JoinedList, MapList, Tuple, release 1.0.5

File size: 251 bytes
Line 
1from random import random
2import unittest
3from tudelft.utilities.immutablelist.Tuple import Tuple
4
5class 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.