vendredi 22 septembre 2017

How to test Dominant Pruning code

I have implemented an algorithm called Dominant Pruning. Till now I have tested the algorithm by hand. I mean, I took a specific number of nodes, calculated the actual result in hand and then compared with the result from the code.

I have tested till 20 nodes in this way till now. But if I want to consider more nodes for example 50, 100 or 500, then this testing procedure becomes very hectic.

Is there any way to test it? Or is there any online service where I can test the result from my code? Or can anyone suggest any testing code?

Aucun commentaire:

Enregistrer un commentaire