1.1 --- a/tests/set.py Sun Feb 05 18:17:14 2017 +0100
1.2 +++ b/tests/set.py Sun Feb 05 18:18:04 2017 +0100
1.3 @@ -51,3 +51,20 @@
1.4 print 9 in aib # False
1.5 print 9 in adb # True
1.6 print 9 in asdb # False
1.7 +print
1.8 +
1.9 +aub2 = a.copy()
1.10 +aub2.update(b)
1.11 +print len(aub2) # 6
1.12 +
1.13 +aib2 = a.copy()
1.14 +aib2.intersection_update(b)
1.15 +print len(aib2) # 4
1.16 +
1.17 +adb2 = a.copy()
1.18 +adb2.difference_update(b)
1.19 +print len(adb2) # 1
1.20 +
1.21 +asdb2 = a.copy()
1.22 +asdb2.symmetric_difference_update(b)
1.23 +print len(asdb2) # 2