Skip to content

Commit

Permalink
moving testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed Oct 25, 2023
1 parent 1d88dfa commit 70eac7c
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-annual_rainfall_summaries.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = "tests/e-picsa-e630400792e7.json")
test_1_results <- readRDS("test_1_annual_summaries.rds")
epicsadata::gcs_auth_file(file = "testdata/e-picsa-e630400792e7.json")
test_1_results <- readRDS("testdata/test_1_annual_summaries.rds")
country <- "zm"
station_id <- "test_1"

Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-crop_success_probabilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = "tests/e-picsa-e630400792e7.json")
test_1_results <- readRDS("tests/test_1_crop_success_probabilities.rds")
epicsadata::gcs_auth_file(file = "testdata/e-picsa-e630400792e7.json")
test_1_results <- readRDS("testdata/test_1_crop_success_probabilities.rds")
country <- "zm"
station_id <- "test_1"
test_that("Correct summaries are calculated", {
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-season_start_probabilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = "tests/e-picsa-e630400792e7.json")
test_1_results <- readRDS("tests/test_1_season_start_probabilities.rds")
epicsadata::gcs_auth_file(file = "testdata/e-picsa-e630400792e7.json")
test_1_results <- readRDS("testdata/test_1_season_start_probabilities.rds")
country <- "zm"
station_id <- "test_1"
test_that("Correct summaries are calculated", {
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-total_temperature_summaries.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ library(testthat)
library(epicsawrap)

# Test case 1
epicsadata::gcs_auth_file(file = "tests/e-picsa-e630400792e7.json")
test_1_annual <- readRDS("tests/test_1_annual.rds")
test_1_monthly <- readRDS("tests/test_1_monthly.rds")
epicsadata::gcs_auth_file(file = "testdata/e-picsa-e630400792e7.json")
test_1_annual <- readRDS("testdata/test_1_annual.rds")
test_1_monthly <- readRDS("testdata/test_1_monthly.rds")
country <- "zm"
station_id <- "test_1"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 70eac7c

Please sign in to comment.