Stream: general

Topic: num tests libcore vs. libstd


T. Rapp (Apr 24 2019 at 13:39, on Zulip):

I want to add tests for some new num functions (see PR #60192). When looking at src/libcore/tests/num and src/libstd/num.rs it is not clear to me where to put the tests.
For example "saturating_add" is defined in libcore but the test is in libstd. Is this due to legacy reasons? When to put tests where?

Last update: Nov 20 2019 at 11:25UTC