Sha256: f850067cb96f0530329d7eb4b4e433a0fccefdb567efbde1ce7928b1c3d721d2
Contents?: true
Size: 406 Bytes
Versions: 284
Compression:
Stored size: 406 Bytes
Contents
The tests require a constructor that takes an array. The internals of your custom set implementation can use other data structures but you may have to implement an outer constructor that takes exactly one array for the tests to pass. Certain methods have a unicode operator equivalent. E.g. `intersect(CustomSet([1, 2, 3, 4]), CustomSet([]))` is equivalent to `CustomSet([1, 2, 3, 4]) ∩ CustomSet([])`.
Version data entries
284 entries across 284 versions & 1 rubygems