mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
rewrite tests for cargo compat, decoupled directory, output handling
This commit is contained in:
parent
b20b2cca19
commit
a21c54e2cd
165 changed files with 4315 additions and 3538 deletions
11
tests/fixtures/sort/human1.ans
vendored
Normal file
11
tests/fixtures/sort/human1.ans
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
844K
|
||||
981K
|
||||
11M
|
||||
13M
|
||||
14M
|
||||
16M
|
||||
18M
|
||||
19M
|
||||
20M
|
||||
981T
|
||||
20P
|
11
tests/fixtures/sort/human1.txt
vendored
Normal file
11
tests/fixtures/sort/human1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
14M
|
||||
20M
|
||||
20P
|
||||
11M
|
||||
981T
|
||||
16M
|
||||
18M
|
||||
19M
|
||||
844K
|
||||
981K
|
||||
13M
|
2
tests/fixtures/sort/numeric1.ans
vendored
Normal file
2
tests/fixtures/sort/numeric1.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
0
|
||||
.02
|
2
tests/fixtures/sort/numeric1.txt
vendored
Normal file
2
tests/fixtures/sort/numeric1.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.02
|
||||
0
|
2
tests/fixtures/sort/numeric2.ans
vendored
Normal file
2
tests/fixtures/sort/numeric2.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.02
|
||||
.03
|
2
tests/fixtures/sort/numeric2.txt
vendored
Normal file
2
tests/fixtures/sort/numeric2.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.03
|
||||
.02
|
2
tests/fixtures/sort/numeric3.ans
vendored
Normal file
2
tests/fixtures/sort/numeric3.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.000
|
||||
.01
|
2
tests/fixtures/sort/numeric3.txt
vendored
Normal file
2
tests/fixtures/sort/numeric3.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.01
|
||||
.000
|
2
tests/fixtures/sort/numeric4.ans
vendored
Normal file
2
tests/fixtures/sort/numeric4.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.00
|
||||
.01
|
2
tests/fixtures/sort/numeric4.txt
vendored
Normal file
2
tests/fixtures/sort/numeric4.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.01
|
||||
.00
|
2
tests/fixtures/sort/numeric5.ans
vendored
Normal file
2
tests/fixtures/sort/numeric5.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.022
|
||||
.024
|
2
tests/fixtures/sort/numeric5.txt
vendored
Normal file
2
tests/fixtures/sort/numeric5.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.022
|
||||
.024
|
100
tests/fixtures/sort/numeric6.ans
vendored
Normal file
100
tests/fixtures/sort/numeric6.ans
vendored
Normal file
|
@ -0,0 +1,100 @@
|
|||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67
|
||||
68
|
||||
69
|
||||
70
|
||||
71
|
||||
72
|
||||
73
|
||||
74
|
||||
75
|
||||
76
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98
|
||||
99
|
||||
100
|
100
tests/fixtures/sort/numeric6.txt
vendored
Normal file
100
tests/fixtures/sort/numeric6.txt
vendored
Normal file
|
@ -0,0 +1,100 @@
|
|||
33
|
||||
16
|
||||
35
|
||||
56
|
||||
72
|
||||
37
|
||||
21
|
||||
49
|
||||
70
|
||||
48
|
||||
90
|
||||
83
|
||||
44
|
||||
79
|
||||
10
|
||||
20
|
||||
4
|
||||
26
|
||||
27
|
||||
63
|
||||
29
|
||||
47
|
||||
51
|
||||
85
|
||||
88
|
||||
46
|
||||
30
|
||||
61
|
||||
93
|
||||
81
|
||||
78
|
||||
53
|
||||
87
|
||||
18
|
||||
98
|
||||
38
|
||||
13
|
||||
39
|
||||
23
|
||||
71
|
||||
5
|
||||
100
|
||||
96
|
||||
8
|
||||
24
|
||||
14
|
||||
28
|
||||
15
|
||||
25
|
||||
43
|
||||
36
|
||||
67
|
||||
75
|
||||
66
|
||||
31
|
||||
57
|
||||
34
|
||||
80
|
||||
40
|
||||
86
|
||||
17
|
||||
55
|
||||
9
|
||||
1
|
||||
62
|
||||
12
|
||||
74
|
||||
58
|
||||
69
|
||||
76
|
||||
11
|
||||
73
|
||||
68
|
||||
59
|
||||
41
|
||||
45
|
||||
52
|
||||
97
|
||||
82
|
||||
6
|
||||
7
|
||||
77
|
||||
42
|
||||
84
|
||||
95
|
||||
94
|
||||
89
|
||||
19
|
||||
64
|
||||
2
|
||||
22
|
||||
50
|
||||
60
|
||||
32
|
||||
92
|
||||
3
|
||||
99
|
||||
65
|
||||
54
|
||||
91
|
Loading…
Add table
Add a link
Reference in a new issue