tests/testthat/test_flowfinder_functions.R

context("server functions")


test_that("check get_nomads_filelist routings",{
  
  fileList = try(get_nomads_filelist(num  = 40))
  
  # Make sure 3 vals
  expect_equal(length(fileList), 3)
  
  # Right number of urls are returned
  expect_equal(length(fileList$urls), 40)
  
})
mikejohnson51/FlowlineFinder documentation built on March 21, 2021, 11:01 a.m.