Skip to content

Commit

Permalink
Finish vv0.2.15.9001
Browse files Browse the repository at this point in the history
  • Loading branch information
franzbischoff committed Aug 28, 2018
2 parents 5b23116 + baa73a5 commit 9e6a366
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions tests/testthat/test.stamps.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ if (skip_on_cran()) {

# STOMP
stomp.test <- stomp(toy_data$data[1:200, 1], window.size = 30, verbose = 0)
#stomp.join.test <- stomp(toy_data$data[1:200, 1], toy_data$data[1:100, 2], window.size = 30, verbose = 0)
# stomp.join.test <- stomp(toy_data$data[1:200, 1], toy_data$data[1:100, 2], window.size = 30, verbose = 0)
stomp.par.test <- stomp.par(toy_data$data[1:200, 1], window.size = 30, verbose = 0)
#stomp.par.join.test <- stomp.par(toy_data$data[1:200, 1], toy_data$data[1:100, 2], window.size = 30, verbose = 0)
# stomp.par.join.test <- stomp.par(toy_data$data[1:200, 1], toy_data$data[1:100, 2], window.size = 30, verbose = 0)

# MSTOMP Uni
mstomp.test1 <- mstomp(toy_data$data[1:200, 1], window.size = 30, verbose = 0)
Expand All @@ -70,16 +70,18 @@ if (skip_on_cran()) {
mstomp.par.test.must <- mstomp.par(toy_data$data[1:200, ], window.size = 30, must.dim = c(1, 2), verbose = 0)
mstomp.par.test.exc <- mstomp.par(toy_data$data[1:200, ], window.size = 30, exc.dim = c(1, 2), verbose = 0)

test_that("Result hashes", {
expect_known_hash(stamp.test, "1016c61c9f")
expect_known_hash(stamp.join.test, "585be5fedc")
expect_known_hash(stomp.test, "9c2bf3197d")
#expect_known_hash(stomp.join.test, "585be5fedc")
expect_known_hash(mstomp.test, "fa0c150b92")
expect_known_hash(mstomp.test1, "9c2bf3197d")
expect_known_hash(mstomp.test.must, "13cefe2517")
expect_known_hash(mstomp.test.exc, "b872f44cc5")
})
if (skip_on_travis()) {
test_that("Result hashes", {
expect_known_hash(stamp.test, "1016c61c9f")
expect_known_hash(stamp.join.test, "585be5fedc")
expect_known_hash(stomp.test, "9c2bf3197d")
# expect_known_hash(stomp.join.test, "585be5fedc")
expect_known_hash(mstomp.test, "fa0c150b92")
expect_known_hash(mstomp.test1, "9c2bf3197d")
expect_known_hash(mstomp.test.must, "13cefe2517")
expect_known_hash(mstomp.test.exc, "b872f44cc5")
})
}

# stamp.test -> stamp.par.test
# stamp.join.test -> stamp.par.join.test
Expand Down

0 comments on commit 9e6a366

Please sign in to comment.