From db777837ee3373ec1e1431e7480c55e265ee1e6a Mon Sep 17 00:00:00 2001 From: Tijmen van Nesselrooij Date: Wed, 1 May 2019 19:11:06 +0200 Subject: [PATCH] Restructure project directories --- {lists => sequential}/linkedlist.hpp | 0 {random-access-containers => sequential}/vector.hpp | 0 {tests => test}/binarytree.cpp | 2 +- {tests => test}/makefile | 0 {tests => test}/testutil.hpp | 0 {tests => test}/vector.cpp | 2 +- {binary-trees => tree}/binarytree.hpp | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename {lists => sequential}/linkedlist.hpp (100%) rename {random-access-containers => sequential}/vector.hpp (100%) rename {tests => test}/binarytree.cpp (97%) rename {tests => test}/makefile (100%) rename {tests => test}/testutil.hpp (100%) rename {tests => test}/vector.cpp (95%) rename {binary-trees => tree}/binarytree.hpp (100%) diff --git a/lists/linkedlist.hpp b/sequential/linkedlist.hpp similarity index 100% rename from lists/linkedlist.hpp rename to sequential/linkedlist.hpp diff --git a/random-access-containers/vector.hpp b/sequential/vector.hpp similarity index 100% rename from random-access-containers/vector.hpp rename to sequential/vector.hpp diff --git a/tests/binarytree.cpp b/test/binarytree.cpp similarity index 97% rename from tests/binarytree.cpp rename to test/binarytree.cpp index 44a7c95..1c8bc0f 100644 --- a/tests/binarytree.cpp +++ b/test/binarytree.cpp @@ -1,4 +1,4 @@ -#include "../binary-trees/binarytree.hpp" +#include "../tree/binarytree.hpp" #include "testutil.hpp" #include diff --git a/tests/makefile b/test/makefile similarity index 100% rename from tests/makefile rename to test/makefile diff --git a/tests/testutil.hpp b/test/testutil.hpp similarity index 100% rename from tests/testutil.hpp rename to test/testutil.hpp diff --git a/tests/vector.cpp b/test/vector.cpp similarity index 95% rename from tests/vector.cpp rename to test/vector.cpp index 7249012..3a2b0f5 100644 --- a/tests/vector.cpp +++ b/test/vector.cpp @@ -1,4 +1,4 @@ -#include "../random-access-containers/vector.hpp" +#include "../sequential/vector.hpp" #include "testutil.hpp" void FillWithSequentialNumbers(Vector & vector, diff --git a/binary-trees/binarytree.hpp b/tree/binarytree.hpp similarity index 100% rename from binary-trees/binarytree.hpp rename to tree/binarytree.hpp