assert.equal: Asserts two values are equal.

Description Usage Arguments Value

Description

In the context of checking the consistency of a solution, ensures the content are similar.

Usage

1
2
assert.equal(v1, v2, msg, verbose = FALSE, indent = 3,
  tolerance = 1.5e-08)

Arguments

v1

a scalar, vector, matrix or data frame

v2

a scalar, vector, matrix or data frame

msg

the message to display in case of failure

verbose

if TRUE, assertion errors will be displayed in the console

indent

the indentation (count of tabs) for verbose display

tolerance

the numeric tolerance to define two numeric are equal

Value

1 in case of error else 0


samthiriot/gosp.dpp documentation built on May 18, 2019, 3:44 p.m.