/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/test/src/math/hypot_test.cpp
25 строк
746 B
Michael Jones
[libc] apply formatting to tests
22 дек 2021, 21:53
22 дек 2021, 21:53
25226f3
Код
Авторство
О чём код?
//===-- Unittests for hypot -----------------------------------------------===// // // 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 "HypotTest.h" #include "src/math/hypot.h" using LlvmLibcHypotTest = HypotTestTemplate<double>; TEST_F(LlvmLibcHypotTest, SpecialNumbers) { test_special_numbers(&__llvm_libc::hypot); } TEST_F(LlvmLibcHypotTest, SubnormalRange) { test_subnormal_range(&__llvm_libc::hypot); } TEST_F(LlvmLibcHypotTest, NormalRange) { test_normal_range(&__llvm_libc::hypot); }