Changes in / [3d2852a:5d7e049]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/vector.cfa
r3d2852a r5d7e049 14 14 // 15 15 16 #include <vector.hfa> 16 17 #include <fstream.hfa> 17 #include <vector.hfa>18 18 19 19 #undef assert … … 28 28 int main() { 29 29 vector( int ) iv; 30 31 assert( ((uintptr_t)&iv.storage.storage ) == (((uintptr_t)&iv)) ); 32 assert( ((uintptr_t)&iv.storage.capacity) == (((uintptr_t)&iv) + sizeof(void *)) ); 33 assert( ((uintptr_t)&iv.size ) == (((uintptr_t)&iv) + sizeof(void *) + sizeof(size_t)) ); 30 34 31 35 assert( empty( &iv ) );
Note: See TracChangeset
for help on using the changeset viewer.