ntamas / plfit

Fitting power-law distributions to empirical data, according to the method of Clauset, Shalizi and Newman
GNU General Public License v2.0
47 stars 17 forks source link

sample data for testsuite #4

Closed mvngu closed 12 years ago

mvngu commented 12 years ago

I added three sets of sample data. These can be used to, say, write testsuites in the future. For the moment, I have no idea how to write a testsuite in C (using autotools) based on the datasets.

ntamas commented 12 years ago

Thanks! Re the testsuite: plfit is using CMake as the build system, not autotools, so it would be preferable to use CTest for testing instead of autotools anyway. I'll investigate how to do this with CTest.

ntamas commented 12 years ago

Test cases for the data files were added using CTest, so you can simply run "ctest" in the build dir to check whether the compilation went fine.