format.tinytest {tinytest} | R Documentation |
Print a tinytest object
Description
Print a tinytest object
Usage
## S3 method for class 'tinytest'
format(x, type = c("long", "short"), ...)
## S3 method for class 'tinytest'
print(x, ...)
Arguments
x |
A |
type |
|
... |
passed to |
Value
A character string
Examples
tt <- expect_equal(1+1, 3)
format(tt,"long")
format(tt,"short")
print(expect_equal(1+1, 2))
print(expect_equal(1+1, 3), type="long")
[Package tinytest version 1.4.1 Index]