kasparsklavins / bigint

A lightweight big integer library for c++
MIT License
220 stars 55 forks source link

Test coverage #20

Open kasparsklavins opened 7 years ago

kasparsklavins commented 7 years ago

Just a reminder to eventually add test coverage.

ghost commented 7 years ago

You could have a look at my test-suite and may give you some ideas TitanSnow:bigint

kasparsklavins commented 7 years ago

Good idea testing against python.

But I dont want to add another language in the build script.

MahmoudRizk commented 7 years ago

I think , you can generate the test cases and their answers saved in a file. @TitanSnow

ghost commented 7 years ago

That sounds not so interesting as random test cases, right? @MahmoudRizk There are always situations that people cannot predict and think out. Oh I forget to say that to start testing just make test. (Forgive me, I don't know cmake enough so I use Makefile instead) I add it to travisCI so each time I push, it will take the server about 5 minutes to test it :smiley: