Skip to content

Commit 834e8f0

Browse files
committed
tests: better folder structure
1 parent 34e6133 commit 834e8f0

File tree

11 files changed

+26
-26
lines changed

11 files changed

+26
-26
lines changed

tests/tests/addition.h renamed to tests/cases/addition.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void _additionFail1(void)

tests/tests/constructor.h renamed to tests/cases/constructor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void _constructorFail1(void)

tests/tests/crs-format.h renamed to tests/cases/crs-format.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void testInternalStorage(void)

tests/tests/custom-type.h renamed to tests/cases/custom-type.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#include <string>
1010
#include <iostream>
11-
#include "../testslib.h"
12-
#include "../SparseMatrixMock.h"
11+
#include "../inc/testslib.h"
12+
#include "../inc/SparseMatrixMock.h"
1313

1414
using namespace std;
1515

tests/tests/get-set.h renamed to tests/cases/get-set.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void _getFail(void)

tests/tests/multiplication.h renamed to tests/cases/multiplication.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void _multiplicationFail1(void)

tests/tests/output.h renamed to tests/cases/output.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void testOutput(void)

tests/tests/subtraction.h renamed to tests/cases/subtraction.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* @link https://github.com/uestla/Sparse-Matrix
77
*/
88

9-
#include "../testslib.h"
10-
#include "../SparseMatrixMock.h"
9+
#include "../inc/testslib.h"
10+
#include "../inc/SparseMatrixMock.h"
1111

1212

1313
void _subtractionFail1(void)

tests/SparseMatrixMock.h renamed to tests/inc/SparseMatrixMock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define __SPARSEMATRIX_MOCK_H__
1212

1313
#include <vector>
14-
#include "../src/SparseMatrix/SparseMatrix.h"
14+
#include "../../src/SparseMatrix/SparseMatrix.h"
1515

1616
using namespace std;
1717

File renamed without changes.

0 commit comments

Comments
 (0)