mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 10:45:08 +03:00
15 lines
214 B
C
15 lines
214 B
C
|
#include "gts.h"
|
||
|
int main() {
|
||
|
GtsRange r;
|
||
|
gts_range_init(&r);
|
||
|
|
||
|
for (int i = 0; i < 10; ++i)
|
||
|
gts_range_add_value(&r, i);
|
||
|
|
||
|
gts_range_update(&r);
|
||
|
|
||
|
if (r.n == 10) return 0;
|
||
|
return 1;
|
||
|
}
|
||
|
|