Closed oscbyspro closed 3 weeks ago
I could hoist DoubleInt
's 2-by-1-as-3 multiplication tests if it were available to HalveableInteger
(#60).
I managed to unify all CoreInteger
tests and all InfiniInt<T>
tests and all but two DoubleInt<T>
tests (#60). I also found one bug that I would not have found otherwise (#123). StdlibInt<T>
still requires a separate testing strategy, but I am pleased with the result.
Looks like BinaryInteger+Addition.swift
was removed in (d8213e6). I'll bring it back.
I want to test all binary integers in a single place because maintaining multiple testing strategies is just too much work. I'm happy with the fuzzing approach, so I'll focus more on that. Ideally, I'll reduce it to a single—unified—testing module, but I'm unsure how realistic that is. We'll see.