summaryrefslogtreecommitdiff
path: root/libc/test/src/math/roundf16_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/math/roundf16_test.cpp')
-rw-r--r--libc/test/src/math/roundf16_test.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/test/src/math/roundf16_test.cpp b/libc/test/src/math/roundf16_test.cpp
new file mode 100644
index 000000000000..54ead855934d
--- /dev/null
+++ b/libc/test/src/math/roundf16_test.cpp
@@ -0,0 +1,13 @@
+//===-- Unittests for roundf16 --------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "RoundTest.h"
+
+#include "src/math/roundf16.h"
+
+LIST_ROUND_TESTS(float16, LIBC_NAMESPACE::roundf16)