LCOV - code coverage report
Current view: top level - tests - literals.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 8 100.0 %
Date: 2022-11-05 14:57:37 Functions: 16 16 100.0 %

          Line data    Source code
       1             : #define BOOST_TEST_MODULE literals
       2             : #include <boost/test/included/unit_test.hpp>
       3             : #include "exprtest.hpp"
       4             : 
       5             : using namespace boost::math::constants;
       6             : 
       7           6 : EXPRTEST(literal1, "1.234"  ,  1.234)
       8           6 : EXPRTEST(literal2, "4.2e2"  ,  420)
       9           6 : EXPRTEST(literal3, "5e-01"  ,  0.5)
      10           6 : EXPRTEST(literal4, "-3"     , -3)
      11           6 : EXPRTEST(literal5, "pi"     ,  pi<double>())
      12           6 : EXPRTEST(literal6, "epsilon",  std::numeric_limits<double>::epsilon())
      13           6 : EXPRTEST(literal7, "phi"    ,  phi<double>())
      14           6 : EXPRTEST(literal8, "e"      ,  e<double>())

Generated by: LCOV version 1.14