big: Add randomized testing.

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:52 +02:00
parent 13fab36639
commit c1a001c331
4 changed files with 81 additions and 23 deletions
+5
View File
@@ -70,6 +70,11 @@ demo :: proc() {
// r := &rnd.Rand{};
// rnd.init(r, 12345);
// as := cstring("596360079055148742691396559496540363");
// bs := cstring("159671292010002348397151706347412301");
// res := test_div_two(as, bs);
// fmt.print(res);
// destination, source, quotient, remainder, numerator, denominator := &Int{}, &Int{}, &Int{}, &Int{}, &Int{}, &Int{};
// defer destroy(destination, source, quotient, remainder, numerator, denominator);
}