Simon Bruder
f81098f259
u02/tests: Use const where possible
2023-05-09 23:47:47 +02:00
Simon Bruder
b780d4b8c4
u02: Implement rectangle tool
2023-05-09 23:47:47 +02:00
Simon Bruder
5a1ba0ca93
u02: Replace fill test to use test shape
2023-05-09 23:47:47 +02:00
Simon Bruder
dfeb329a52
u02: Add property test for equality of fill tools
2023-05-09 23:47:47 +02:00
Simon Bruder
625c257f3f
u02: Implement non recursive fill tool
2023-05-09 23:47:47 +02:00
Simon Bruder
c851767445
u02: Implement recursive fill tool
2023-05-09 23:47:47 +02:00
Simon Bruder
649d5da18a
u02: Implement bresenham line tool
2023-05-09 23:47:47 +02:00
Simon Bruder
240d5435f2
u02: Improve test performance
2023-05-09 23:47:47 +02:00
Simon Bruder
8b88c14b02
u02: Make DDA incremental
2023-05-09 23:47:46 +02:00
Simon Bruder
708e501245
u02: Implement DDA line tool
2023-05-09 23:47:46 +02:00
Simon Bruder
fab356c308
u02: Implement transformation to standard case
2023-05-09 23:47:46 +02:00
Simon Bruder
18456541aa
u02: Implement transformation functions
2023-05-09 23:47:46 +02:00
Simon Bruder
837a1e5519
u02/CMake: Install built binary
2023-05-09 23:47:46 +02:00
Simon Bruder
d5340b315b
u02/CMake: Add vim modeline
2023-05-09 23:47:46 +02:00
Simon Bruder
60eb346e2c
u02: Convert latin1 to UTF-8
2023-05-09 23:47:46 +02:00
Simon Bruder
dfa6d381ca
u02: dos2unix
2023-05-09 23:47:46 +02:00
Simon Bruder
cc32e483e0
u02: Format
2023-05-09 23:47:46 +02:00
Simon Bruder
2c741916bf
u02: Add skeleton
2023-05-09 23:47:46 +02:00
Simon Bruder
60a8abfe34
u01: Accept reference for node::set_name
...
This harmonizes the signatures of set_name and the constructor.
2023-05-09 23:25:04 +02:00
Simon Bruder
63431b6824
u01: Add test case for very short loop
...
This actually worked, but it is nice to have it verified nonetheless.
2023-05-09 23:25:04 +02:00
Simon Bruder
8a07422a51
u01: Fix typo in comment
2023-05-09 23:25:04 +02:00
Simon Bruder
9db38c33f5
u01: Don’t call make_pair explicitly
2023-05-09 23:25:04 +02:00
Simon Bruder
f7e5769f8d
u01: Fix type of children count in one case
2023-05-09 23:25:04 +02:00
Simon Bruder
5ce178b914
u01/tests: Fix typo
2023-05-09 23:25:04 +02:00
Simon Bruder
db4d489ae8
u01: Consistently use size_t and unsigned int
...
size_t should only be used for indexing. For all other purposes,
unsigned int should be used.
2023-05-09 23:25:04 +02:00
Simon Bruder
5c8784c9f4
Add note on compile_commands.json to readme
2023-05-09 23:25:04 +02:00
Simon Bruder
e138a4d58c
Add global readme
2023-05-09 23:25:04 +02:00
Simon Bruder
a4e9c4abda
Licence under GPL v3 or later
2023-05-09 23:25:04 +02:00
Simon Bruder
d81daf6b10
u01: Add readme
2023-05-09 23:25:04 +02:00
Simon Bruder
fd230375ee
u01: Allow both static and dynamic linking
...
This uses CMake’s BUILD_SHARED_LIBS variable, which by default is set to
OFF. To build the shared library and link the binaries against it, you
can set it to ON.
2023-05-09 23:25:03 +02:00
Simon Bruder
abb6291c56
u01: Change project name
...
The task requires this.
2023-05-09 23:24:22 +02:00
Simon Bruder
47e5d9c522
u01: Change name of library
...
The task requires this name.
2023-05-09 23:24:18 +02:00
Simon Bruder
18efa58df8
u01: Add note to CMakeLists about library type
2023-04-22 14:34:37 +02:00
Simon Bruder
ffc4c3e6dd
u01: Add iterative print with cycle detection
2023-04-22 13:47:57 +02:00
Simon Bruder
1f56b00800
u01: Add recursive print with cycle detection
2023-04-22 13:47:57 +02:00
Simon Bruder
08dc634ebb
u01: Make destructor work with recursive trees
2023-04-22 13:47:57 +02:00
Simon Bruder
5ac5bd1f43
u01: Add stream output to node
2023-04-22 13:47:57 +02:00
Simon Bruder
65f13d8780
u01: Null pointers in main after delete
2023-04-22 13:47:56 +02:00
Simon Bruder
6a7c1c4546
u01/tests: Simplify create complete tree
2023-04-22 13:47:53 +02:00
Simon Bruder
89d1f5f6e0
u01: Switch from include guards to pragma once
2023-04-22 13:47:41 +02:00
Simon Bruder
cbee4361a1
u01: Add include guard to header
2023-04-22 13:47:41 +02:00
Simon Bruder
3e63e632b7
u01: Add complete tree creation
2023-04-22 13:47:41 +02:00
Simon Bruder
8ea29904ea
u01/tests: Extract get_node_id function
2023-04-22 13:47:41 +02:00
Simon Bruder
c2804e2d3b
u01: Implement global node counting
...
The test is not very pretty, I may think of something nicer (once I
learn how to do it).
2023-04-22 13:47:41 +02:00
Simon Bruder
51a326b66c
u01: Add messages to destructor
2023-04-22 13:47:40 +02:00
Simon Bruder
48cfafc9a3
u01: Init
2023-04-22 13:47:40 +02:00
Simon Bruder
636270bbdd
Init project structure
2023-04-21 22:46:49 +02:00