-context("alignMatrices")
-
# Helper to generate a random series of matrices to align
.generateMatrices = function(d, K, N, noise)
{
# 3] Check alignment
for (j in 2:N)
- expect_that( norm(aligned[[j]] - Ms[[1]]), is_less_than(max_error) )
+ expect_lt( norm(aligned[[j]] - Ms[[1]]), max_error )
}
})