MilchRatchet / PAL

Polytime Algorithm Libraries
zlib License
0 stars 0 forks source link

Extra params for test #9

Open Mathemalsky opened 3 years ago

Mathemalsky commented 3 years ago

I think it would be useful if running TEST had some optional arguments which can be used to suppress some categories of test. That would be very nice in the case of debugging. For example than you can simple test without the time consuming tests for convex hull. And also the valgrind outputs would be more clean than.

MilchRatchet commented 3 years ago

Yes, that sounds great. If you have an idea how we should do this then you can implement it.

Mathemalsky commented 3 years ago

My idea is to have several sets of test:

I think I can start implementing that soon.

MilchRatchet commented 3 years ago

Maybe we could define some 3 character abbreviation for each algorithm that can be used as an argument. Then we could call

./TEST CHJ CHC SCG

for testing CONVEXHULL_JARVIS, CONVEXHULL_CHAN and SETCOVER_GREEDY.

Mathemalsky commented 3 years ago

Also an idea. Maybe we can also do both.

MilchRatchet commented 3 years ago

Yes, that idea was meant for "an argument for every single algorithm to test only this one".