-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename all slope_z_..() funcions to z_...() for more intuitive names.…
… leave "slope_.." for funcions that deal with slope values - not elevation. #32
Showing
2 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
test_that("Functions on Z values work", { | ||
x = slopes::lisbon_route_3d | ||
expect_equal(class(slope_z_value(x)), "numeric") | ||
expect_equal(class(z_value(x)), "numeric") | ||
x = slopes::lisbon_route | ||
expect_error(slope_z_value(x)) | ||
expect_error(slope_z_start(x)) | ||
expect_error(slope_z_end(x)) | ||
expect_error(slope_z_mean(x)) | ||
expect_error(slope_z_max(x)) | ||
expect_error(slope_z_min(x)) | ||
expect_error(z_value(x)) | ||
expect_error(z_start(x)) | ||
expect_error(z_end(x)) | ||
expect_error(z_mean(x)) | ||
expect_error(z_max(x)) | ||
expect_error(z_min(x)) | ||
# x_slope = | ||
# expect_is() | ||
}) |