Skip to content

Commit

Permalink
test_network_operations: ASCII art update
Browse files Browse the repository at this point in the history
Much saner now and smaller comment.

Co-authored-by: Moritz Sallermann <moritzsallermann@gmail.com>
  • Loading branch information
amritagos and MSallermann committed Jun 17, 2024
1 parent 30752f1 commit 3c9455e
Showing 1 changed file with 12 additions and 70 deletions.
82 changes: 12 additions & 70 deletions test/test_network_operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,76 +17,18 @@ TEST_CASE("Testing network operations") {

// Generate some network
/* Nodes: 0, 2, 1, 3, 4, 5
.................................................................
....................%.........%:.................................
.................::..............-...............................
................%.................%..............................
...............%.......=@@@@.......#.............................
...............:.......@@-@@.....................................
.......................@@-@@........-............................
.......................@@-@@.....................................
...............%.........=:........#.............................
................#.................*..............................
.................=...............*...............................
...................-+.........-=.................................
.........................%.......................................
.........................%.......................................
.........................%.......................................
.........................%.......................................
.........................%.......................................
.........................%.......................................
.........................%.......................................
.....................%.......#:..................................
..................%.............%................................
................=.................+..............................
...............=........@@@*.......+.............................
...............-.......@@.@@.....................................
.........................@@.........-............................
........................@@..........-............................
...............+.......#%%%%.......=.............................
................-................................................
.................#...............+...............................
...................#...........+.................................
.....................+-@#+*@=-...................................
....................%.........#..................................
...................=...........*.................................
.................................................................
..................+.............:................................
.................#...............%...............................
................=.................+..............................
........##...-@=...................=@-...*%......................
.....%............#.............+............#...................
...%................+.........-................#.................
..#.........+=.......%.......+.......-%%+.......=................
.*........@@@*.......................@@-@@.......@...............
.=.........+@*........@.....*.........*@@........:...............
.=.........+@*........@.....*........@@:@@.......:...............
.#.........+@*........:.....:........%@@@........%...............
..=..................%.......#..................-................
...#................#.........*................=.................
....:-............#.............%............--..................
.......=#.....:%:..................%-.....#+.....................
..................................#..............................
.................................#..........=....................
.............................................#...................
................................:.............=..................
...............................%.................................
..............................+................=.................
.......................+@@@+.:..................%.-%@@#..........
...................%...........@..............=-..........+......
.................#...............%..........-...............-....
................=.................-........%..................-..
...............#........%@@#.......+......+........@+............
........................@=@#........:.....=.......:@@@@-.......#.
.......................@@@@@........-.....:.......-@#%@=.......#.
...............:.........=@#..............%........@@@@........=.
...............+...................#..........................+..
................*.................#..........................+...
..................*.............=............#..............=....
....................==.......-+................:#........%.......
.................................................................
ACII art made in https://asciiflow.com
+-+
|0|
+-+
+-+
|2|
+---------+
|1| |3|
+-+ +-+
+--+ +---+
|4| |5|
+-+ +-+
*/
const auto n_agents = 6;
auto network = UndirectedNetwork(n_agents);
Expand Down

0 comments on commit 3c9455e

Please sign in to comment.