Last change
on this file since 140 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
682 bytes
|
Rev | Line | |
---|
[78] | 1 | #ifndef morpheo_behavioural_Test_h |
---|
| 2 | #define morpheo_behavioural_Test_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Test.h 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include <stdint.h> |
---|
| 12 | #include <math.h> |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | |
---|
| 17 | bool is_natural (double val); |
---|
| 18 | bool is_positive (double val); |
---|
| 19 | bool is_power2 (uint32_t val); |
---|
| 20 | bool is_multiple (uint32_t val1, |
---|
| 21 | uint32_t val2); |
---|
| 22 | bool is_between_inclusive (uint32_t val, |
---|
| 23 | uint32_t min, |
---|
| 24 | uint32_t max); |
---|
| 25 | bool is_between_exclusive (uint32_t val, |
---|
| 26 | uint32_t min, |
---|
| 27 | uint32_t max); |
---|
| 28 | }; // end namespace behavioural |
---|
| 29 | }; // end namespace morpheo |
---|
| 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.