Using library <random> in order to re-implement the methods of the class eoRng
(issue #24). Add two new CMake Cache Values: ENABLE_CXX11_RANDOM & ENABLE_64_BIT_RNG_NUMBERS. Add a test file; Python chi-square & shapiro-wilk tests: done.
This commit is contained in:
parent
516a4c52f8
commit
1353157cb6
9 changed files with 716 additions and 226 deletions
|
|
@ -71,12 +71,18 @@ set (TEST_LIST
|
|||
t-eoParser
|
||||
)
|
||||
|
||||
# For C++11 random numbers
|
||||
if(ENABLE_CXX11_RANDOM)
|
||||
set (TEST_LIST ${TEST_LIST} t-eoRNGcxx11) # tests the eoRng class update (thanks to the new C++11 random library)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I /usr/include/python2.7 -lpython2.7") # Install developpement package for Python and add Python library link
|
||||
|
||||
endif(ENABLE_CXX11_RANDOM)
|
||||
|
||||
foreach (test ${TEST_LIST})
|
||||
set ("T_${test}_SOURCES" "${test}.cpp")
|
||||
endforeach (test)
|
||||
|
||||
|
||||
if(ENABLE_MINIMAL_CMAKE_TESTING)
|
||||
|
||||
set (MIN_TEST_LIST t-eoEasyPSO)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue