TestCompareDeparsed: Legacy internal test function (TestCompareDeparsed)

View source: R/RtestingHelpers.R

TestCompareDeparsedR Documentation

Legacy internal test function (TestCompareDeparsed)

Description

This function takes reult/expectation arguments and performs a comparison.

Usage

TestCompareDeparsed(
  result,
  expectation,
  modes = as.list(rep("compare", length(result)))
)

Arguments

result

list of results of the current test function

expectation

list of Deparsed, expected results

modes

comparison modes

Details

The return value is a list with the following components

  • result: Logical being true when all tests passed, false otherwise.

  • NsubTests: Integer value containing the number of subtests performed.

Value

Returns a list containing the test results (see details)


sboehringer/testme documentation built on Jan. 17, 2024, 4:58 p.m.