Revision 04bbc417cf2927b827660bc07743429783569aec authored by HwB on 10 February 2013, 00:00:00 UTC, committed by Gabor Csardi on 10 February 2013, 00:00:00 UTC
1 parent 0e3ae6b
Raw File
cross.R
###
### cross.R  +++ Test suite +++
###


test.cross <- function(input, expected) {
   output <- do.call(getFromNamespace("cross", "pracma"), input)
   identical(output, expected)
}

cross.expected.1 <- c(-3, 6, -3)
#cross.expected. <- 
#cross.expected. <- 
#cross.expected. <- 

test.cross(list(x=c(1, 2, 3), y=c(4, 5, 6)), cross.expected.1)
#test.cross(list(), cross.expected.)
#test.cross(list(), cross.expected.)
#test.cross(list(), cross.expected.)
back to top