From 4429b6ab8a8a8ea3b87750b4f6fc152a03aedcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 14 Jan 2021 00:11:55 +0100 Subject: Clarify commentary for recurrence tests. --- tests/recurrence-advanced.scm | 11 +++++++---- tests/recurrence-simple.scm | 8 +++----- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/recurrence-advanced.scm b/tests/recurrence-advanced.scm index ceab07cd..c2242c19 100644 --- a/tests/recurrence-advanced.scm +++ b/tests/recurrence-advanced.scm @@ -1,11 +1,14 @@ ;;; Commentary: -;; Advanced tests of "generate-recurrence-set", along with -;; format-recurrence-rule which checks that human readable -;; representations of the RRULES work. +;; Tests of recurrence rule generation with focus on correct instances +;; being generated. For tests of basic recurrence functionallity, see +;; recurrence-simple.scm. +;; +;; This file also tests format-recurrence-rule, which checks that human +;; readable representations of the RRULES work. ;; ;; Also contains the tests for EXDATE. ;; -;; Examples copied from RFC5545 +;; Most examples copied from RFC5545, some home written. ;;; Code: ;; The human readable tests are expected to fail with any change to the diff --git a/tests/recurrence-simple.scm b/tests/recurrence-simple.scm index 8d930ad1..9c78977b 100644 --- a/tests/recurrence-simple.scm +++ b/tests/recurrence-simple.scm @@ -1,9 +1,7 @@ ;;; Commentary: -;; Basic tests that recurrence rule parsing works. -;; Including that it fails on invalid output. -;; -;; -;; General tests of "generate-recurrence-set". +;; Simples tests of recurrence system, ensuring that all parsers and +;; basic generators work. Some more fully-featured tests are here, but +;; most are instead in recurrence-advanced.scm. ;;; Code: (((srfi srfi-41) stream-take stream-map stream->list stream-car) -- cgit v1.2.3