Page MenuHomeDevCentral

Allow to generate a random sring
ClosedPublic

Authored by dereckson on Apr 26 2018, 13:39.

Details

Summary

These functions are used in Zed.

This is a new implementation, using closures,
to decrease cyclomatic complexity, and pure
random functions to generate digits or letters
instead to play with arrays of elements.

Test Plan

Unit tests included

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dereckson requested review of this revision.Apr 26 2018, 13:39
dereckson created this revision.
dereckson accepted this revision.Apr 26 2018, 13:40
This revision is now accepted and ready to land.Apr 26 2018, 13:40
This revision was automatically updated to reflect the committed changes.