Skip to content

Commit 9286537

Browse files
committed
remove duplicative test for unit conversion [skip ci]
1 parent 673baef commit 9286537

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/testthat/test-convert_units.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ test_that("convert_units works", {
1414
x_ft <- 24
1515
x_m <- ft_to_m(x_ft)
1616
expect_equal(m_to_ft(x_m), x_ft, tolerance = 1e-4)
17-
expect_equal(ft_to_m(x_ft), x_m, tolerance = 1e-4)
1817

1918
x_in <- 15.1
2019
x_cm <- in_to_cm(x_in)
2120
expect_equal(cm_to_in(x_cm), x_in, tolerance = 1e-4)
22-
expect_equal(in_to_cm(x_in), x_cm, tolerance = 1e-4)
2321

2422
x <- "char"
2523
expect_error(ft_to_m(x), "numeric vector")

0 commit comments

Comments
 (0)