diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 15bfcef..a3deb63 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -61,6 +61,41 @@ target_link_libraries(${PROJECT_NAME}-compare PRIVATE gtest::gtest ) +add_executable(${PROJECT_NAME}-exponential) +target_sources(${PROJECT_NAME}-exponential PRIVATE + exponential/exp2_test.cpp + exponential/exp_test.cpp + exponential/expm1_test.cpp + exponential/log1p_test.cpp + exponential/log2_test.cpp + exponential/log10_test.cpp + exponential/log_test.cpp + + +) +target_link_libraries(${PROJECT_NAME}-exponential PRIVATE + ccmath::test + gtest::gtest +) + +add_executable(${PROJECT_NAME}-fmanip) +target_sources(${PROJECT_NAME}-fmanip PRIVATE + fmanip/copysign_test.cpp + fmanip/frexp_test.cpp + fmanip/ilogb_test.cpp + fmanip/ldexp_test.cpp + fmanip/logb_test.cpp + fmanip/modf_test.cpp + fmanip/nextafter_test.cpp + fmanip/scalbn_test.cpp + + +) +target_link_libraries(${PROJECT_NAME}-fmanip PRIVATE + ccmath::test + gtest::gtest +) + add_executable(${PROJECT_NAME}-nearest) target_sources(${PROJECT_NAME}-nearest PRIVATE nearest/trunc_test.cpp @@ -92,6 +127,8 @@ endif() add_test(NAME ${PROJECT_NAME}-basic COMMAND ${PROJECT_NAME}-basic) add_test(NAME ${PROJECT_NAME}-compare COMMAND ${PROJECT_NAME}-compare) add_test(NAME ${PROJECT_NAME}-nearest COMMAND ${PROJECT_NAME}-nearest) +add_test(NAME ${PROJECT_NAME}-exponential COMMAND ${PROJECT_NAME}-exponential) +add_test(NAME ${PROJECT_NAME}-fmanip COMMAND ${PROJECT_NAME}-fmanip) diff --git a/test/exponential/exp2_test.cpp b/test/exponential/exp2_test.cpp new file mode 100644 index 0000000..a056a2b --- /dev/null +++ b/test/exponential/exp2_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/exp2.hpp" + +TEST(CcmathExponentialTests, Exp2) +{ + +} diff --git a/test/exponential/exp_test.cpp b/test/exponential/exp_test.cpp new file mode 100644 index 0000000..cd50e10 --- /dev/null +++ b/test/exponential/exp_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/exp.hpp" + +TEST(CcmathExponentialTests, Exp) +{ + +} diff --git a/test/exponential/expm1_test.cpp b/test/exponential/expm1_test.cpp new file mode 100644 index 0000000..eef6a48 --- /dev/null +++ b/test/exponential/expm1_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/expm1.hpp" + +TEST(CcmathExponentialTests, Expm1) +{ + +} diff --git a/test/exponential/log10_test.cpp b/test/exponential/log10_test.cpp new file mode 100644 index 0000000..866423b --- /dev/null +++ b/test/exponential/log10_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/log10.hpp" + +TEST(CcmathExponentialTests, Log10) +{ + +} diff --git a/test/exponential/log1p_test.cpp b/test/exponential/log1p_test.cpp new file mode 100644 index 0000000..8dfe803 --- /dev/null +++ b/test/exponential/log1p_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/log1p.hpp" + +TEST(CcmathExponentialTests, Log1p) +{ + +} diff --git a/test/exponential/log2_test.cpp b/test/exponential/log2_test.cpp new file mode 100644 index 0000000..27354ce --- /dev/null +++ b/test/exponential/log2_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/log2.hpp" + +TEST(CcmathExponentialTests, Log2) +{ + +} diff --git a/test/exponential/log_test.cpp b/test/exponential/log_test.cpp new file mode 100644 index 0000000..fb5b911 --- /dev/null +++ b/test/exponential/log_test.cpp @@ -0,0 +1,18 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/exponential/log.hpp" + +TEST(CcmathExponentialTests, Log) +{ + +} diff --git a/test/fmanip/copysign_test.cpp b/test/fmanip/copysign_test.cpp new file mode 100644 index 0000000..d0b7da8 --- /dev/null +++ b/test/fmanip/copysign_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/copysign.hpp" + +TEST(CcmathFmanipTests, Copysign) +{ + +} + diff --git a/test/fmanip/frexp_test.cpp b/test/fmanip/frexp_test.cpp new file mode 100644 index 0000000..b313371 --- /dev/null +++ b/test/fmanip/frexp_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/frexp.hpp" + +TEST(CcmathFmanipTests, Frexp) +{ + +} + diff --git a/test/fmanip/ilogb_test.cpp b/test/fmanip/ilogb_test.cpp new file mode 100644 index 0000000..80f95c4 --- /dev/null +++ b/test/fmanip/ilogb_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/ilogb.hpp" + +TEST(CcmathFmanipTests, ILogb) +{ + +} + diff --git a/test/fmanip/ldexp_test.cpp b/test/fmanip/ldexp_test.cpp new file mode 100644 index 0000000..57b03d2 --- /dev/null +++ b/test/fmanip/ldexp_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/ldexp.hpp" + +TEST(CcmathFmanipTests, Ldexp) +{ + +} + diff --git a/test/fmanip/logb_test.cpp b/test/fmanip/logb_test.cpp new file mode 100644 index 0000000..9c0210d --- /dev/null +++ b/test/fmanip/logb_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/logb.hpp" + +TEST(CcmathFmanipTests, Logb) +{ + +} + diff --git a/test/fmanip/modf_test.cpp b/test/fmanip/modf_test.cpp new file mode 100644 index 0000000..2ea8c69 --- /dev/null +++ b/test/fmanip/modf_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/modf.hpp" + +TEST(CcmathFmanipTests, Modf) +{ + +} + diff --git a/test/fmanip/nextafter_test.cpp b/test/fmanip/nextafter_test.cpp new file mode 100644 index 0000000..7bb548e --- /dev/null +++ b/test/fmanip/nextafter_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/nextafter.hpp" + +TEST(CcmathFmanipTests, Nextafter) +{ + +} + diff --git a/test/fmanip/scalbn_test.cpp b/test/fmanip/scalbn_test.cpp new file mode 100644 index 0000000..c670ec4 --- /dev/null +++ b/test/fmanip/scalbn_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/scalbn.hpp" + +TEST(CcmathFmanipTests, Scalbn) +{ + +} + diff --git a/test/hyperbolic/_test.cpp b/test/hyperbolic/_test.cpp new file mode 100644 index 0000000..d0b7da8 --- /dev/null +++ b/test/hyperbolic/_test.cpp @@ -0,0 +1,19 @@ +/* +* Copyright (c) 2024-Present Ian Pike +* Copyright (c) 2024-Present ccmath contributors +* +* This library is provided under the MIT License. +* See LICENSE for more information. +*/ + +#include + +#include +#include +#include "ccmath/detail/fmanip/copysign.hpp" + +TEST(CcmathFmanipTests, Copysign) +{ + +} +