tests/testthat/test-VectorDatabase.R

test_that("superclass has expected methods", {
  
  db <- VectorDatabase$new(namespace = "test_project_id")
  
  db$write_record() |> 
    expect_error("Not implemented yet.")

  db$find_records(query = "test_query") |> 
    expect_error("Not implemented yet.")
})

Try the GitAI package in your browser

Any scripts or data that you put into this service are public.

GitAI documentation built on April 3, 2025, 7:57 p.m.