You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/drake-master/common/test/autodiffxd_asin_test.cc

20 lines
480 B

/* clang-format off to disable clang-format-includes */
#include "drake/common/autodiff.h"
#include "drake/common/ad/test/standard_operations_test.h"
/* clang-format on */
namespace drake {
namespace test {
namespace {
TEST_F(AutoDiffXdTest, Asin) {
CHECK_UNARY_FUNCTION(asin, x, y, 0.1);
CHECK_UNARY_FUNCTION(asin, x, y, -0.1);
CHECK_UNARY_FUNCTION(asin, y, x, 0.1);
CHECK_UNARY_FUNCTION(asin, y, x, -0.1);
}
} // namespace
} // namespace test
} // namespace drake