search for: expect_identical

Displaying 2 results from an estimated 2 matches for "expect_identical".

2010 Sep 01
0
testthat: version 0.3
...oned what doesn't, creating a testing environment that is philosophically centred in R. Changes in version 0.3 ----------------------------------------------------------------- * all expectations now have a shortcut form, so instead of expect_that(a, is_identical_to(b)) you can do expect_identical(a, b) * new shows_message and gives_warning expectations to test warnings and messages * expect_that, equals, is_identical_to and is_equivalent to now have additional label argument which allows you to control the appearance of the text used for the expected object (for expect_that) and act...
2010 Sep 01
0
testthat: version 0.3
...oned what doesn't, creating a testing environment that is philosophically centred in R. Changes in version 0.3 ----------------------------------------------------------------- * all expectations now have a shortcut form, so instead of expect_that(a, is_identical_to(b)) you can do expect_identical(a, b) * new shows_message and gives_warning expectations to test warnings and messages * expect_that, equals, is_identical_to and is_equivalent to now have additional label argument which allows you to control the appearance of the text used for the expected object (for expect_that) and act...