expect_in: Expect in

View source: R/expect_in.R

expect_inR Documentation

Expect in

Description

testthat, this function is a modified version of testthat::expect_setequal. This function will check if actual set of the output is included or is present in the expected set.

Usage

expect_in(object, expected)

Arguments

object

actual output set after running the function

expected

expected output set that will include the actual output set. but may or may not entirely match the length and order of actual output set.

Value

object actual output set

expected expected output set


capellett/scutils documentation built on Oct. 20, 2023, 5:38 p.m.