Skip to content

Commit

Permalink
add b/w versions of all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 16, 2018
1 parent d331279 commit e412383
Show file tree
Hide file tree
Showing 113 changed files with 646 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tests/testthat/out linguist-generated
tests/testthat/out-native linguist-generated
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/asis-list.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<I(list)>
<dbl [1]>
<int [2]>
<int [3]>
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/asis-number.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<I(int)>
1
2
3
12 changes: 12 additions & 0 deletions tests/testthat/bw-out/basic-signif-5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<dbl>
-0.010000
0.10000
-1.0000
10.000
-100.00
1000.0
-10000.
1.0000
NA
-Inf
Inf
10 changes: 10 additions & 0 deletions tests/testthat/bw-out/basic-signif-7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<dbl>
-1.000000
0.1000000
-0.01000000
0.001000000
-0.0001000000
0.00001000000
NA
-Inf
Inf
12 changes: 12 additions & 0 deletions tests/testthat/bw-out/basic.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<dbl>
-0.00100
0.0100
-0.100
1.00
-10.0
100.
-1000.
10000.
NA
-Inf
Inf
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/date.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<date>
2017-07-28
NA
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/deal1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
成交
<chr>
成交日
<NA>
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/deal2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
成交日
<chr>
成交
<NA>
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/deal3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
成交日
<int>
1
NA
11 changes: 11 additions & 0 deletions tests/testthat/bw-out/decimal-insignif.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<dbl>
0.00123
0.0123
0.123
1.23
12.3
123.
1235.
NA
-Inf
Inf
2 changes: 2 additions & 0 deletions tests/testthat/bw-out/escaped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<fct>
"a\nb"
7 changes: 7 additions & 0 deletions tests/testthat/bw-out/factor.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<fct>
a
b
c
d
e
<NA>
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/integer-06.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<int>
1.00e7
1.00e7
1.00e7
NA
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/integer-07.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<int>
1.00e7
1.00e7
1.00e7
NA
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/integer-08.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<int>
10000001
10000002
10000003
NA
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/integer-09.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<int>
10000001
10000002
10000003
NA
8 changes: 8 additions & 0 deletions tests/testthat/bw-out/letters-inf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<chr>
1 a b c d e f g h i j k l m n o p q r s t u v w x y z
<chr>
1 a b c d e f g h i j k l m n o p q r s t u v w x y z
<chr>
1 a b c d e f g h i j k l m n o p q r s t u v w x y z
<chr>
1 a b c d e f g h i j k l m n o p q r s t u v w x y z
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/letters-long-03.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<chr>
abcd…
<NA>
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/letters-long-10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<chr>
abcdefghi…
<NA>
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/letters-long.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<chr>
abcdefghijklmnopqrstuvwxyz
<NA>
7 changes: 7 additions & 0 deletions tests/testthat/bw-out/letters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<chr>
a
b
c
d
e
<NA>
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/list-each.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<list>
<int [1]>
<int [1]>
<int [1]>
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/list-na.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<list>
<int [3]>
<lgl [1]>
2 changes: 2 additions & 0 deletions tests/testthat/bw-out/list-narrow.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<list>
<data.fra…
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/list-null.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<list>
<int [3]>
<NULL>
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/logical.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<lgl>
TRUE
FALSE
NA
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/lubridate.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<S4: Duration>
1s
2s
3s
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-19.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-20.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-21.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-22.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-24.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one
<dbl>
1 1.23
2 2.23
3 3.23
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-25.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-26.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-27.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-28.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-29.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-30.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-31.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02
<dbl> <chr>
1 1.23 a
2 2.23 b
3 3.23 c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-32.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-33.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-34.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-35.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-36.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-37.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-38.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03
<dbl> <chr> <fct>
1 1.23 a a
2 2.23 b b
3 3.23 c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-39.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03 col_04
<dbl> <chr> <fct> <ord>
1 1.23 a a a
2 2.23 b b b
3 3.23 c c c
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/multi-extra-10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
column_zero_one <dbl>
col_02 <chr>
col_03 <fct>
col_04 <ord>
3 changes: 3 additions & 0 deletions tests/testthat/bw-out/multi-extra-20.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
col_02 <chr>
col_03 <fct>
col_04 <ord>
2 changes: 2 additions & 0 deletions tests/testthat/bw-out/multi-extra-30.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
col_03 <fct>
col_04 <ord>
1 change: 1 addition & 0 deletions tests/testthat/bw-out/multi-extra-35.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
col_04 <ord>
Empty file.
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/multi-inf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
column_zero_one col_02 col_03 col_04
<dbl> <chr> <fct> <ord>
1 1.23 a a a
2 2.23 b b b
3 3.23 c c c
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/na-names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
`NA` `NA`
<int> <int>
1 1 4
2 2 5
3 3 6
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/numeric-04.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dbl>
1.00e-9
1.00e-6
1.00e+3
1.00e+9
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/numeric-07.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dbl>
1.00e-9
1.00e-6
1.00e+3
1.00e+9
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/numeric-10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dbl>
1.00e-9
1.00e-6
1.00e+3
1.00e+9
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/numeric-15.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dbl>
1.00e-9
1.00e-6
1.00e+3
1.00e+9
5 changes: 5 additions & 0 deletions tests/testthat/bw-out/numeric-22.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<dbl>
0.00000000100
0.00000100
1000.
1000000000.
7 changes: 7 additions & 0 deletions tests/testthat/bw-out/ordered.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<ord>
a
b
c
d
e
<NA>
4 changes: 4 additions & 0 deletions tests/testthat/bw-out/rowid-3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

1
2
3
14 changes: 14 additions & 0 deletions tests/testthat/bw-out/rowid-star-title-12.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

*
1
2
3
4
5
6
7
8
9
10
11
12
8 changes: 8 additions & 0 deletions tests/testthat/bw-out/scientific-short-neg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<dbl>
-1.00e 3
1.00e 9
-1.00e15
1.00e22
NA
-Inf
Inf
Loading

0 comments on commit e412383

Please sign in to comment.