source:
CIVL/examples/library/stdlib/random.cvl@
beab7f2
| Last change on this file since beab7f2 was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 120 bytes | |
| Rev | Line | |
|---|---|---|
| [3ff27cf] | 1 | #include <civlc.cvh> |
| [3af26ac] | 2 | #include <stdlib.h> |
| 3 | ||
| 4 | int main(){ | |
| 5 | int val1 = rand(), val2 = rand(); | |
| 6 | ||
| [3ff27cf] | 7 | $assert(val1 == val2); |
| [3af26ac] | 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
