Package: perl-Test-MockRandom (1.01-26.fc43)
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
- Maintainer del pacchetto downstream
- jplesnik, ppisarObserved Nov 20, 2026 [source]
- Pacchetto sorgente
- [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-26.fc4343 / everything | noarchFedora 43 · Everything · x86_64 | 28 KiB | 54 KiB | list of files | perl-Test-MockRandom-1.01-26.fc43.noarch.rpm |
| 1.01-26.fc4343 / everything | noarchFedora 43 · Everything · aarch64 | 28 KiB | 54 KiB | list of files | perl-Test-MockRandom-1.01-26.fc43.noarch.rpm |
About these downloads
Ogni riga è metadato dell'indice pacchetti per una versione, architettura, suite e repository. Nomi, URL e dimensioni arrivano dalla fonte; un link è un punto di recupero mutabile, non una redistribuzione 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
Percorsi file del pacchetto (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 43 Everything x86_64
