Upstream software project

perl-Test-MockRandom

Replaces random number generation with non-random number generation

About perl-Test-MockRandom

Replaces random number generation with non-random number generation

This project links 3 native package records across 3 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.perl-Test-MockRandom: recorded package coverageopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
perl-Test-MockRandom
Publisher
Not authoritatively mapped
Native package records
3
Operating systems
opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
Apache-2.0
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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. Depending on how this module is called with 'use', it will export 'rand' to a specified package (e.g. a class being tested) effectively overriding and intercepting calls in that package to the built-in 'rand'. It can also override 'rand' in the current package or even globally. In all of these cases, it also exports 'srand' and 'oneish' to the current package in order to control the output of 'rand'. See USAGE for details. Alternatively, this module can be used to generate objects, with each object maintaining its own distinct seed array.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package perl-Test-MockRandom

    leap-15.6 (openSUSE Leap 15.6) (Development/Libraries/Perl): Replaces random number generation with non-random number generation

    1.01-bp156.3.1: noarch

    Source: perl-Test-MockRandom

openSUSE Leap 16.0

  1. Package perl-Test-MockRandom

    leap-16.0 (openSUSE Leap 16.0) (Development/Libraries/Perl): Replaces random number generation with non-random number generation

    1.01-bp160.1.4: noarch

    Source: perl-Test-MockRandom

openSUSE Tumbleweed

  1. Package perl-Test-MockRandom

    tumbleweed (openSUSE Tumbleweed) (Development/Libraries/Perl): Replaces random number generation with non-random number generation

    1.01-1.33: noarch

    Source: perl-Test-MockRandom

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.