File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,25 @@ library(dataedu)
3
3
context(" test-palette_dataedu.R" )
4
4
5
5
test_that(" dataedu_pal() main works" , {
6
- p <- dataedu_pal()
6
+ p <- dataedu ::: dataedu_pal()
7
7
expect_is(p , " function" )
8
- for (i in 1 : 5 ) {
8
+ for (i in 1 : 6 ) {
9
9
expect_hexcolor(p(i ))
10
10
}
11
11
})
12
12
13
13
test_that(" dataedu_pal() reverse works" , {
14
- p <- dataedu_pal(reverse = TRUE )
14
+ p <- dataedu ::: dataedu_pal(reverse = TRUE )
15
15
expect_is(p , " function" )
16
- for (i in 1 : 5 ) {
16
+ for (i in 1 : 6 ) {
17
17
expect_hexcolor(p(i ))
18
18
}
19
19
})
20
20
21
21
test_that(" scale_color_dataedu() works" , {
22
- expect_is(scale_color_dataedu(), " ScaleDiscrete" )
22
+ expect_is(dataedu ::: scale_color_dataedu(), " ScaleDiscrete" )
23
23
})
24
24
25
25
test_that(" scale_fill_dataedu() works" , {
26
- expect_is(scale_fill_dataedu(), " ScaleDiscrete" )
26
+ expect_is(dataedu ::: scale_fill_dataedu(), " ScaleDiscrete" )
27
27
})
You can’t perform that action at this time.
0 commit comments