lkml.org 
[lkml]   [2021]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] lib: add basic KUnit test for lib/math
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 interesting, but they
> * provide a place to add tests for any new files in this dir
> * are written so adding new test cases to cover edge cases should be easy


> lib/math/math_test.c | 197 +++++++++++++++++++++++++++++++++++++++++++

Can it have _kunit instead of _test?


--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2021-01-18 21:36    [W:0.094 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site