forked from pz4kybsvg/Conception
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.
20 lines
480 B
20 lines
480 B
2 years ago
|
/* 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
|