mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +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;
|
||
|
}
|
||
|
|