run test and copying typemaps to std::string
This commit is contained in:
parent
720c4d3dfc
commit
f7b794a4f3
3 changed files with 28 additions and 4 deletions
|
|
@ -9,6 +9,10 @@ testvec <- c(1, 2, 3)
|
|||
|
||||
unittest(half(testvec), testvec/2)
|
||||
unittest(average(testvec), mean(testvec))
|
||||
## string vector test
|
||||
vlen <- 13
|
||||
stringvec <- paste(letters[1:vlen], as.character(rnorm(vlen)))
|
||||
unittest(rev(stringvec), RevStringVec(stringvec))
|
||||
q(save="no")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue