18 #ifndef __LIBTEST_TESTINT_H
19 #define __LIBTEST_TESTINT_H
85 m_values.insert(value);
94 int offset = (int) m_values.count();
97 for (
int i = 0; i < (int)count; i++)
98 m_values.insert(i + m_min);
101 for (
int i = offset; i < ((int)count + offset); i++)
103 int tmp = m_values[i];
105 int idx = (
::random() % (int)count - 1);
109 m_values[i] = m_values[idx];
113 return m_values[offset + (int)count - 1];
122 value = (((unsigned)::
random() + (unsigned)::
random()) % m_max);
127 m_values.insert(value);
136 Size offset = m_values.count();
139 for (
Size i = 0; i < count; i++)
140 m_values.insert(i + m_min);
143 for (
Size i = offset; i < (count + offset); i++)
145 Size tmp = m_values[i];
151 m_values[i] = m_values[idx];
155 return m_values[offset + count - 1];