Home
last modified time | relevance | path

Searched refs:RadiansToDegrees (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Darray_util_unittest.cc173 TEST(ArrayUtilTest, RadiansToDegrees) { in TEST() argument
174 EXPECT_FLOAT_EQ(0.f, RadiansToDegrees(0.f)); in TEST()
175 EXPECT_FLOAT_EQ(30.f, RadiansToDegrees(M_PI / 6.f)); in TEST()
176 EXPECT_FLOAT_EQ(-45.f, RadiansToDegrees(-M_PI / 4.f)); in TEST()
177 EXPECT_FLOAT_EQ(60.f, RadiansToDegrees(M_PI / 3.f)); in TEST()
178 EXPECT_FLOAT_EQ(-90.f, RadiansToDegrees(-M_PI / 2.f)); in TEST()
179 EXPECT_FLOAT_EQ(120.f, RadiansToDegrees(2.f * M_PI / 3.f)); in TEST()
180 EXPECT_FLOAT_EQ(-135.f, RadiansToDegrees(-3.f * M_PI / 4.f)); in TEST()
181 EXPECT_FLOAT_EQ(150.f, RadiansToDegrees(5.f * M_PI / 6.f)); in TEST()
182 EXPECT_FLOAT_EQ(-180.f, RadiansToDegrees(-M_PI)); in TEST()
Darray_util.h111 T RadiansToDegrees(T angle_radians) { in RadiansToDegrees() function