Expected `ram` > 0.
Actual comparison: 0.0 <= 0.0
Difference: 0.0 <= 0

test_that("st_write/st_read round-trip: sparse matrix", {
A <- Matrix::rsparsematrix(200, 100, density = 0.05, repr = "C")
expect_equal(as.matrix(A), as.matrix(B), tolerance = 1e-6)
test_that("st_info returns correct dimensions for v2 file", {
A <- Matrix::rsparsematrix(300, 150, density = 0.03, repr = "C")
test_that("nmf from .spz file works end-to-end", {
A <- abs(Matrix::rsparsematrix(500, 200, density = 0.05, repr = "C"))
st_write(A, f, include_transpose = TRUE)
res <- nmf(f, k = 4, maxit = 5, tol = 1e-3)
test_that("chunk_cols parameter accepted by st_write", {
A <- Matrix::rsparsematrix(100, 200, density = 0.1, repr = "C")
expect_no_error(st_write(A, f, chunk_cols = 64L))
test_that("st_add_transpose adds transpose successfully", {
A <- Matrix::rsparsematrix(100, 80, density = 0.1, repr = "C")
st_write(A, f, include_transpose = FALSE)
M <- matrix(rnorm(200), nrow = 20, ncol = 10)
test_that("auto-dispatch selects IN_CORE_CPU for small files", {
A <- Matrix::rsparsematrix(50, 30, density = 0.1, repr = "C")
mode_info <- RcppML:::.st_dispatch(f, k = 3)
test_that("Rcpp_get_available_ram_mb returns positive value", {

"st_info returns correct dimensions for v2 file"
"chunk_cols parameter accepted by st_write"
"auto-dispatch selects IN_CORE_CPU for small files"