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

2021-01-19 Thread Daniel Latypov
On Mon, Jan 18, 2021 at 2:36 AM Andy Shevchenko wrote: > > On Thu, Jan 14, 2021 at 10:27:00AM -0800, 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

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

2021-01-18 Thread Andy Shevchenko
On Thu, Jan 14, 2021 at 10:27:00AM -0800, 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.) > > These tests aren't particularly inter

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

2021-01-14 Thread Daniel Latypov
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.) These tests aren't particularly interesting, but they * provide a place to add tests for any new files in this dir *