Functions

The following functions are available globally.

  • Convenience function for generating curried fake random sources.

    Declaration

    Swift

    public func fakeRandomSource(output: UInt32) -> RandomSource
  • The default random source to use unless provided explicitly.

    Declaration

    Swift

    public func defaultRandomSource(upperBound: UInt32) -> UInt32