Function

GLibtest_rand_int_range

Declaration

gint32
g_test_rand_int_range (
  gint32 begin,
  gint32 end
)

Description

Get 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 gint32
 

The minimum value returned by this function.

end gint32
 

The smallest value not to be returned by this function.

Return value

Returns: gint32
 

A number with begin <= number < end.