Package: perl-Test-MockRandom (1.01-27.fc44)
Replaces random number generation with non-random number generation
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.
Package information
- Homepage
- [https://metacpan.org/release/Test-MockRandom]
- License
- Apache-2.0
- Mainteneur du paquet aval
- jplesnik, ppisarObserved Nov 20, 2026 [source]
- Paquet source
- [perl-Test-MockRandom]
- Software project
- [perl-test-mockrandom]
Versions and downloads for perl-Test-MockRandom
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.01-27.fc4444 / everything | noarchFedora 44 · Everything · x86_64 | 28 KiB | 54 KiB | list of files | perl-Test-MockRandom-1.01-27.fc44.noarch.rpm |
| 1.01-27.fc4444 / everything | noarchFedora 44 · Everything · aarch64 | 28 KiB | 54 KiB | list of files | perl-Test-MockRandom-1.01-27.fc44.noarch.rpm |
About these downloads
Chaque ligne est une métadonnée d'index pour une version, une architecture, une suite et un dépôt. Noms, URL et tailles viennent de la source ; un lien est un emplacement de récupération mutable, pas une redistribution OpenFactory.
Dependencies and recommendations for perl-Test-MockRandom
dep: perl(Carp)
Package not available
dep: perl(strict)
Package not available
dep: perl(warnings)
Package not available
dep: [perl-libs]
The libraries for the perl run-time
Chemins de fichiers du paquet (11)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/share/doc/perl-Test-MockRandom
- /usr/share/doc/perl-Test-MockRandom/Changes
- /usr/share/doc/perl-Test-MockRandom/CONTRIBUTING
- /usr/share/doc/perl-Test-MockRandom/examples
- /usr/share/doc/perl-Test-MockRandom/examples/mock-rand.t
- /usr/share/doc/perl-Test-MockRandom/README
- /usr/share/licenses/perl-Test-MockRandom
- /usr/share/licenses/perl-Test-MockRandom/LICENSE
- /usr/share/man/man3/Test::MockRandom.3pm.gz
- /usr/share/perl5/vendor_perl/Test
- /usr/share/perl5/vendor_perl/Test/MockRandom.pm
Field source: Fedora 44 Everything x86_64
