Learn R Programming

testthat (version 0.2)

is_false: Expectation: is the object false?

Description

Expectation: is the object false?

Arguments

Details

A useful fall-back expectation like is_true

Examples

Run this code
expect_that(3 == 2, is_false())

a <- 1:3
expect_that(length(a) == 4, is_false())

Run the code above in your browser using DataLab