Skip to content

Commit

Permalink
working tests GCAM6.0 and GCAM7.0 13
Browse files Browse the repository at this point in the history
  • Loading branch information
klau506 committed Aug 19, 2024
1 parent 7ab651f commit f577fc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/testReporter_v6.0.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ test_that("Test6_v6. load variable and get function", {
rm(list = ls())

get_elec_capital()
# testthat::expect(exists("elec_capital_clean"), "get_elec_capital() function is broken.")
# testResult <- get(load(file.path(rprojroot::find_root(rprojroot::is_testthat), "testOutputs/v_6.0/result_test6.1.RData")))
# testthat::expect_equal(elec_capital_clean, testResult)
testthat::expect(exists("elec_capital_clean"), "get_elec_capital() function is broken.")
testResult <- get(load(file.path(rprojroot::find_root(rprojroot::is_testthat), "testOutputs/v_6.0/result_test6.1.RData")))
testthat::expect_equal(elec_capital_clean, testResult)
rm(list = ls())
})
#
Expand Down

0 comments on commit f577fc5

Please sign in to comment.