Fri, 13 Nov 2026 04:13:45 UTC Log in
Replaces random number generation with non-random number generation 39.00 KB built 2026-10-17 01:20:33 GMT

Description

This perhaps ridiculous-seeming module was created to test routines that manipulate random numbers by providing a known output from rand. Given a list of seeds with srand, it will return each in turn. After seeded random numbers are exhausted, it will always return 0. Seed numbers must be of a form that meets the expected output from rand as called with no arguments -- i.e. they must be between 0 (inclusive) and 1 (exclusive). In order to facilitate generating and testing a nearly-one number, this module exports the function oneish, which returns a number just fractionally less than one.

Dependencies

15 total
Requires14
  • make
  • perl(Carp)
  • perl(ExtUtils::MakeMaker) >= 6.76
  • perl(File::Spec::Functions)
  • perl(List::Util)
  • perl(Test::More)
  • perl(lib)
  • perl(strict)
  • perl(version)
  • perl(warnings)
  • perl-generators
  • perl-interpreter
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • perl-Test-MockRandom = 1.01-28.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots