File: test_RUnit_style.R

package info (click to toggle)
r-cran-tinytest 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,072 kB
  • sloc: sh: 14; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12

# check if RUnit style functions also work.

expect_true(ignore(checkTrue)(TRUE))
expect_true(ignore(checkFalse)(FALSE))
expect_true(ignore(checkEqual)(1+1,2))
expect_true(ignore(checkIdentical)(1L,1L))
expect_true(ignore(checkEquivalent)(c(a=1),1))