scran_test_utils
Test utilities for libscran projects
Loading...
Searching...
No Matches
scran_tests
initial_value.hpp
Go to the documentation of this file.
1
#ifndef SCRAN_TESTS_INITIAL_VALUE_HPP
2
#define SCRAN_TESTS_INITIAL_VALUE_HPP
3
4
#include <vector>
5
11
namespace
scran_tests
{
12
24
inline
int
initial_value
() {
25
static
int
counter = 0;
26
if
(counter == 255) {
// fits in all numeric types.
27
counter = 1;
28
}
else
{
29
++counter;
30
}
31
return
counter;
32
}
33
34
}
35
36
#endif
scran_tests
Test utilites for libscran.
Definition
compare_almost_equal.hpp:11
scran_tests::initial_value
int initial_value()
Definition
initial_value.hpp:24
Generated by
1.9.8