Commit graph

5 commits

Author SHA1 Message Date
33fee958a5 Removed clang-tidy check for do-while loops
Added 2 new constructors for FileTape which copy the size of existing tape into a new one
Implemented external sort of a Tape using heap sort
Rewritten FileTape constructors implementation to better take advantage of existing constructor calls
Added const to some parameters to indicate their immutability
Added unit tests for external_sort
2024-10-27 05:18:23 +02:00
4397e519bf Added FileTape constuctor that initializes FileTape from vector of uint32_t
Slight rewrite of fill_file_with_empty_cells
Adjusted seek offset in some FileTape operations
Unit tests now work with vector of uint32_t as source of test data
2024-10-26 16:10:14 +03:00
f3aaa26df8 Chaged FileSettings delays type to std::chrono:milliseconds
Changed file format for a FileTape - added and example in the class comment
Removed prev_line_pos and at_first_line fields from FieldTape
Changed Tape data type from int32_t to uint32_t
Cleand up includes
Implemented FileTape methods
Unit tests are in working state
2024-10-25 06:56:52 +03:00
0e49b35f12 Added delimeter and settings constants to FileTape
Removed unneccesary copy and move constructors
Added constructor for tmp FileTape
Added Catch2 for unit testing
Added example unit tests
2024-10-24 17:48:55 +03:00
cab1b88a77 Restuctured source tree - added bin and tests directories
Disabled warnings as errors
bumped the cmake min version to 3.12 for c++20 support and -j flag
Placed a CMakeLists.txt in each subdirectory of the project
2024-10-24 04:25:45 +03:00