7 Commits

Author SHA1 Message Date
02bac7e3d4 Add test case with minimum not at index 0 (#4403) 2023-09-26 08:41:27 +03:00
01157f299c Add negative FindMinTest (#4388) 2023-09-25 18:38:54 +00:00
00282efd8b style: format code (#4212)
close #4204
2023-06-09 18:52:05 +08:00
4f15149804 style: handle empty input array in FindMin.findMin (#4205)
* tests: add test case with mininum not being at the beginning

* style: throw IllegalArgumentException when input is empty

* style: use enhanced for loop

* docs: update doc-str
2023-05-28 16:38:44 +05:30
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
9b4ac70403 Add more tests for findMin (#3102)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-07 08:21:46 +03:00
8e8d11a63c Add Tests for FindMin (#3079) 2022-06-04 19:49:37 +03:00