LCOV - code coverage report
Current view: top level - tests/nt - t_factorization.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2024-05-13 05:06:06 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : 
       2             : /*
       3             :  * Driver for showing how to use the core basic and elementary
       4             :  * functionalities of the Number Theory module
       5             :  *
       6             :  */
       7             : #include <gtest/gtest.h>
       8             : #include <iostream>
       9             : #include <openGPMP/nt/factorization.hpp>
      10             : #include <openGPMP/nt/prime_test.hpp>
      11             : 
      12             : namespace {
      13             : // declare primality class object
      14             : gpmp::PrimalityTest __TEST_PRIMES__;
      15             : gpmp::Factorization __TEST_FACTORS__;
      16             : 
      17             : // Test case for the pollard_rho method
      18           4 : TEST(FactorizationTest, PollardRhoTest) {
      19             :     gpmp::Factorization factorization;
      20             :     // Test with a prime number
      21           1 :     uint64_t prime = 997;
      22           1 : }
      23             : 
      24             : } // namespace

Generated by: LCOV version 1.14