mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
14 lines
214 B
C
14 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;
|
|
}
|
|
|