Re: [PATCH v4] lib: add basic KUnit test for lib/math

2021-04-09 Thread Daniel Latypov
On Fri, Apr 9, 2021 at 8:30 AM Andy Shevchenko wrote: > > On Thu, Apr 08, 2021 at 06:40:01PM -0700, Daniel Latypov wrote: > > Add basic test coverage for files that don't require any config options: > > * gcd.c > > * lcm.c > > * int_sqrt.c > > * reciprocal_div.c > > (Ignored int_pow.c since it's a

Re: [PATCH v4] lib: add basic KUnit test for lib/math

2021-04-09 Thread Andy Shevchenko
On Thu, Apr 08, 2021 at 06:40:01PM -0700, Daniel Latypov wrote: > Add basic test coverage for files that don't require any config options: > * gcd.c > * lcm.c > * int_sqrt.c > * reciprocal_div.c > (Ignored int_pow.c since it's a simple textbook algorithm.) What about adding math.h test cases? We