Skip to content

Commit

Permalink
Update test-utils.R
Browse files Browse the repository at this point in the history
  • Loading branch information
GRvanderPloeg committed Sep 5, 2024
1 parent 7a0b7d8 commit be979cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ test_that("flipLoadings produces a same length list as models input", {
})

test_that("flipLoadings Fac is not the same as models fac", {
set.seed(123)
processedFujita = processDataCube(Fujita2023, sparsityThreshold=0.99, CLR=TRUE, centerMode=1, scaleMode=2)
X = processedFujita$data
models = parafac(X, 2, nstart=10, output="all", sortComponents=TRUE)
Expand Down

0 comments on commit be979cb

Please sign in to comment.