MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / TEST_P

Function TEST_P

test/clamp.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149// clang-format on
150
151TEST_P(ClampFloatingPoint, Basic) {
152 clamp_params params = GetParam();
153 array out = clamp(in_, lo_, hi_);
154 ASSERT_ARRAYS_NEAR(gold_, out, 1e-5);
155}
156
157TEST(Clamp, FloatArrayArray) {
158 array in = randu(num, f32);

Callers

nothing calls this directly

Calls 1

clampFunction · 0.50

Tested by

no test coverage detected