tests/testthat/test-cc_game_mgmt.R

test_that("close cats game flow works", {
  cc_matrix <- deal_cards_to_cc_grid(n=2)
  cc_matrix <- cc_swapper(cc_matrix, 2)
  hand1 <- process_hand(cc_matrix, 1)

  expect_true(all(names(hand1) == c("mispec_dist", "results")))
})

Try the mmiCATs package in your browser

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

mmiCATs documentation built on May 29, 2024, 4:42 a.m.