~ubuntu-branches/ubuntu/quantal/gclcvs/quantal

« back to all changes in this revision

Viewing changes to ansi-tests/fill-strings.lsp

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2004-06-24 15:13:46 UTC
  • Revision ID: james.westby@ubuntu.com-20040624151346-xh0xaaktyyp7aorc
Tags: 2.7.0-26
C_GC_OFFSET is 2 on m68k-linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;-*- Mode:     Lisp -*-
 
2
;;;; Author:   Paul Dietz
 
3
;;;; Created:  Sat Aug 17 08:04:27 2002
 
4
;;;; Contains: Test cases for FILL on strings
 
5
 
 
6
(in-package :cl-test)
 
7
 
 
8
(deftest array-string-fill.1
 
9
  (array-string-fill-test-fn "abcde" #\Z)
 
10
  t "ZZZZZ")
 
11
 
 
12
(deftest array-string-fill.2
 
13
  (array-string-fill-test-fn "abcde" #\Z :start 2)
 
14
  t "abZZZ")
 
15
 
 
16
(deftest array-string-fill.3
 
17
  (array-string-fill-test-fn "abcde" #\Z :end 3)
 
18
  t "ZZZde")
 
19
 
 
20
(deftest array-string-fill.4
 
21
  (array-string-fill-test-fn "abcde" #\Z :start 1 :end 4)
 
22
  t "aZZZe")
 
23
 
 
24
(deftest array-string-fill.5
 
25
  (array-string-fill-test-fn "abcde" #\Z :start 2 :end 3)
 
26
  t "abZde")