projects
/
cgds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic Set implementation - TODO: add iterators for Set and HashTable
[cgds.git]
/
test
/
t.Vector.c
diff --git
a/test/t.Vector.c
b/test/t.Vector.c
index
1ccf779
..
7579afb
100644
(file)
--- a/
test/t.Vector.c
+++ b/
test/t.Vector.c
@@
-65,7
+65,7
@@
void t_vector_push_pop_basic()
vectorI_move_next(vi);
}
vectorI_move_next(vi);
}
- //
s
ame, from end to beginning
+ //
S
ame, from end to beginning
ckValue = n - 1;
vectorI_reset_end(vi);
while (vectorI_has_data(vi))
ckValue = n - 1;
vectorI_reset_end(vi);
while (vectorI_has_data(vi))
@@
-94,7
+94,7
@@
void t_vector_push_pop_evolved()
}
for (int i = 0; i < n; i++)
{
}
for (int i = 0; i < n; i++)
{
- //
a
nother way to access elements
+ //
A
nother way to access elements
StructTest1 st1Cell;
vector_get(v, i, st1Cell);
lu_assert_int_eq(st1Cell.a, st1[i].a);
StructTest1 st1Cell;
vector_get(v, i, st1Cell);
lu_assert_int_eq(st1Cell.a, st1[i].a);