Home
last modified time | relevance | path

Searched refs:TestRounding (Results 1 – 14 of 14) sorted by relevance

/external/adhd/cras/src/dsp/tests/
Ddsp_util_test.c75 void TestRounding(float in, int16_t expected, int samples) in TestRounding() function
169 TestRounding(1.0f, 32767, samples); in main()
170 TestRounding(-1.0f, -32768, samples); in main()
171 TestRounding(1.1f, 32767, samples); in main()
172 TestRounding(-1.1f, -32768, samples); in main()
173 TestRounding(2000000000.f / 32768.f, 32767, samples); in main()
174 TestRounding(-2000000000.f / 32768.f, -32768, samples); in main()
188 TestRounding(5000000000.f / 32768.f, EXPECTED_INF_RESULT, samples); in main()
189 TestRounding(-5000000000.f / 32768.f, EXPECTED_NEGINF_RESULT, samples); in main()
196 TestRounding(inf.f, EXPECTED_INF_RESULT, samples); // expect fail in main()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumfmtspectest.cpp61 void TestRounding();
82 TESTCASE_AUTO(TestRounding); in runIndexedTest()
114 void NumberFormatSpecificationTest::TestRounding() { in TestRounding() function in NumberFormatSpecificationTest
Ditrbnf.h147 void TestRounding();
Dnumfmtst.h177 void TestRounding(void);
Dnumberformat2test.cpp92 void TestRounding();
200 TESTCASE_AUTO(TestRounding); in runIndexedTest()
506 void NumberFormat2Test::TestRounding() { in TestRounding() function in NumberFormat2Test
Dnumfmtst.cpp133 TESTCASE_AUTO(TestRounding); in runIndexedTest()
3105 void NumberFormatTest::TestRounding() { in TestRounding() function in NumberFormatTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatSpecificationTest.java55 public void TestRounding() { in TestRounding() method in NumberFormatSpecificationTest
DIntlTestDecimalFormatAPIC.java259 public void TestRounding() { in TestRounding() method in IntlTestDecimalFormatAPIC
DRbnfTest.java1595 public void TestRounding() { in TestRounding() method in RbnfTest
DNumberFormatTest.java2425 public void TestRounding() { in TestRounding() method in NumberFormatTest
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatSpecificationTest.java52 public void TestRounding() { in TestRounding() method in NumberFormatSpecificationTest
DIntlTestDecimalFormatAPIC.java256 public void TestRounding() { in TestRounding() method in IntlTestDecimalFormatAPIC
DRbnfTest.java1592 public void TestRounding() { in TestRounding() method in RbnfTest
DNumberFormatTest.java2422 public void TestRounding() { in TestRounding() method in NumberFormatTest