test_prime_factors.cc File Reference
#include <iostream>
#include "gtest/gtest.h"
#include "wonton/support/prime_factors.h"

Functions

 TEST (PrimeFactors, PrimeFactors)
 

Function Documentation

◆ TEST()

TEST ( PrimeFactors  ,
PrimeFactors   
)

Test if we can get the prime factors (with repetitions) of a number. Tests up to the first 10 prime factors