refactor: simplify loops with maps and slices packages

Replaces hand-written for loops in tests with equivalent functions from the standard library slices and maps packages. Library code is unchanged.

Also, forbids using sort in favor to slices, which is better.

Edited by Oleksandr Redko

Merge request reports

Loading
Loading