;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (test-sets) #:use-module (guix sets) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-64)) (test-begin "sets") (test-assert "set-contains?" (let* ((lst (iota 123)) (set (list->set lst))) (and (every (cut set-contains? set <>) lst) (not (set-contains? set -1))))) (test-assert "set->list" (let* ((lst (iota 123)) (set (list->set lst))) (lset= = lst (set->list set)))) (test-assert "set-union" (let* ((a (list 'a)) (b (list 'b)) (s1 (setq a)) (s2 (setq b)) (s3 (set-union s1 s2))) (and (set-contains? s3 a) (set-contains? s3 b)))) (test-end) f/gnu/system/vm.scm?id=a720c900ccf94489b1c7d2fe2a2095cb1b458f27'>diff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-04-08 15:23:13 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-04-08 15:32:34 -0700
commita720c900ccf94489b1c7d2fe2a2095cb1b458f27 (patch)
treef468f031e4b3ff4f332de8f54bedba836ade082b /gnu/system/vm.scm
parent55b5ad2eeb88af6a5598fe6bcecf0066152b7513 (diff)
downloadguix-a720c900ccf94489b1c7d2fe2a2095cb1b458f27.tar.gz
guix-a720c900ccf94489b1c7d2fe2a2095cb1b458f27.zip
gnu: reprotest: Update to 0.7.20.
* gnu/packages/diffoscope.scm (reprotest): Update to 0.7.20.
Diffstat (limited to 'gnu/system/vm.scm')
0 files changed, 0 insertions, 0 deletions