Function

GLibtest_rand_int_range

since: 2.16

Declaration [src]

gint32
g_test_rand_int_range (
  gint32 begin,
  gint32 end
)

Description [src]

Gets a reproducible random integer number out of a specified range.

See g_test_rand_int() for details on test case random numbers.

Available since: 2.16

Parameters

begin

Type: gint32

The minimum value returned by this function.

end

Type: gint32

The smallest value not to be returned by this function.

Return value

Type: gint32

A number with begin <= number < end.