Skip to content

Commit

Permalink
test: add more edge case tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiAragaki committed Nov 4, 2023
1 parent 8f72b0a commit 1ee1109
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-qp_tidy.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ test_that("checks catch abberent spectramax data", {

test_that("max_unknowns calculated correctly", {
expect_equal(get_max_unknowns(80, 3, 7), 19)
expect_equal(get_max_unknowns(2, 2, 1), 0)
expect_equal(get_max_unknowns(3, 2, 1), 0)
expect_equal(get_max_unknowns(0, 2, 2), 0)
})

0 comments on commit 1ee1109

Please sign in to comment.