Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
primes.cc File Reference

Tests for Primes. More...

#include <gtest/gtest.h>
#include <primes.H>
Include dependency graph for primes.cc:

Go to the source code of this file.

Functions

 TEST (Prime, test_prime)
 
 TEST (Prime, list)
 
 TEST (Prime, database)
 
 TEST (Prime, next_prime_semantics)
 

Detailed Description

Tests for Primes.

Definition in file primes.cc.

Function Documentation

◆ TEST() [1/4]

TEST ( Prime  ,
database   
)

Definition at line 73 of file primes.cc.

References Primes::check_primes_database(), and Aleph::maps().

◆ TEST() [2/4]

TEST ( Prime  ,
list   
)

Definition at line 64 of file primes.cc.

References Primes::is_prime(), Aleph::maps(), Primes::numPrimes, and Primes::primeList.

◆ TEST() [3/4]

TEST ( Prime  ,
next_prime_semantics   
)

◆ TEST() [4/4]

TEST ( Prime  ,
test_prime   
)

Definition at line 47 of file primes.cc.

References Primes::is_prime(), and Aleph::maps().