Skip to content

Commit

Permalink
added no error test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickleong20 committed Jul 26, 2023
1 parent 4032906 commit ade903f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testthat/test-process_spectra.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ test_that("process returns expected values",{
expect_silent(processed <- process_spectra(data))
expect_true(is_OpenSpecy(processed))
})

test_that("process runs without issue", {
data <- read_any(read_extdata("CA_tiny_map.zip"))
expect_no_error(process_spectra(data))
})

0 comments on commit ade903f

Please sign in to comment.