oscbyspro / Ultimathnum

Binary arithmetic reimagined in Swift
Apache License 2.0
9 stars 1 forks source link

Use: swift-testing (2nd half) #110

Closed oscbyspro closed 2 weeks ago

oscbyspro commented 1 month ago

I'll split (#97) in two parts so I can keep the approximately monthly release schedule.

oscbyspro commented 1 month ago

It looks like Xcode 16 has given up on swift-testing but it works fine in the terminal :|

oscbyspro commented 1 month ago

The #expect and #require macros are too slow to call inside of hot loops. Having to group them is unfortunate, but it is what it is. I haven't yet discovered how to make parameterization of all binary integer type combinations viable. Zzz.

oscbyspro commented 3 weeks ago

Only 16 files left, so there's an end to this refactoring after all.

oscbyspro commented 2 weeks ago

I don't want to refactor tests all year, so I'll wrap it up. I'll let the rest of it develop naturally.

oscbyspro commented 2 weeks ago

I spen most of the time on (#108) and randomizing previously contrived computations. I'm a bit surprised I didn't find any arithmetic bugs. I must be great at contriving numbers. In any case, it's easier to feel confident about unbiased inputs.