omxCheckSetEquals(a, b)
options("mxPrintUnitTests" = FALSE)
.omxCheckCloseEnough
, omxCheckWithinPercentError
, omxCheckIdentical
, omxCheckTrue
, omxCheckEquals
omxCheckSetEquals(c(1, 1, 2, 2, 3), c(3, 2, 1))
omxCheckSetEquals(matrix(1, 1, 1), matrix(1, 3, 3))
# Throws an error
try(omxCheckSetEquals(c(1, 2, 3, 4), c(2, 1, 3)))
Run the code above in your browser using DataLab