Sha256: 532c8d3de00a91660479d1722ad57fdff85ca74062d2fdd6c73849430089a2cd

Contents?: true

Size: 533 Bytes

Versions: 7

Compression:

Stored size: 533 Bytes

Contents

(examples-for ⋃
  ("returns a single arg"
   (⋃ '(a b c))
   (a b c))

  ("returns union of two args"
   (⋃ '(a b c) '(a b d))
   (a b c d))

  ("returns union of arg and nil"
   (⋃ '(a b c) nil)
   (a b c))

  ("returns union of three args"
   (⋃ '(a b c d e) '(a b c d f) '(z b c d g))
   (a b c d e f z g))

  ("returns union of arg nil arg"
   (⋃ '(a b c d e) nil '(z b c d g))
   (a b c d e z g))

  ("returns union of four args"
   (⋃ '(a b c d e) '(a b c d f) '(z b d c g) '(z y g c d))
   (a b c d e f z g y)))

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nydp-0.6.0 lib/lisp/tests/set-union-examples.nydp
nydp-0.5.1 lib/lisp/tests/set-union-examples.nydp
nydp-0.5.0 lib/lisp/tests/set-union-examples.nydp
nydp-0.4.6 lib/lisp/tests/set-union-examples.nydp
nydp-0.4.5 lib/lisp/tests/set-union-examples.nydp
nydp-0.4.3 lib/lisp/tests/set-union-examples.nydp
nydp-0.4.2 lib/lisp/tests/set-union-examples.nydp