Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer committed Oct 13, 2023
1 parent ca0c6c9 commit ce54f27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test_lazy_tensor.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ test_that("lazy_tensor works", {
expect_class(lt1_empty, "lazy_tensor")

lt1_empty[1] = lt1[1]

expect_class(materialize(lazy_tensor()), "torch_tensor")
})

test_that("transform_lazy_tensor works", {
Expand Down

0 comments on commit ce54f27

Please sign in to comment.