chiark
/
gitweb
/
~mdw
/
mLib
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
@@@ tvec doc wip
[mLib]
/
utils
/
t
/
versioncmp.tests
1
;;; -*-conf-*-
2
;;; test for versioncmp
3
4
[versioncmp]
5
6
;; some softball tests
7
8
v0 = 1.2
9
v1 = 1.2
10
rc = =
11
12
v0 = 1.1
13
v1 = 1.2
14
rc = <
15
16
v0 = 1.1
17
v1 = 1.0
18
rc = >
19
20
;; compare numeric to alphabetic
21
22
v0 = 1.0
23
v1 = 1.a
24
rc = <
25
26
;; compare epochs
27
28
v0 = 1:2.0
29
v1 = 2:0.4
30
rc = <
31
32
;; exercise `~'
33
34
v0 = 1.2
35
v1 = 1.2~pre0
36
rc = >
37
38
v0 = 1~~
39
v1 = 1~~a
40
rc = <
41
42
v0 = 1~~a
43
v1 = 1~
44
rc = <
45
46
v0 = 1~
47
v1 = 1
48
rc = <
49
50
;; juxtaposed alphabetics
51
52
v0 = 1
53
v1 = 1a
54
rc = <