PIVector2D tests
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "pivector2d.h"
|
#include "pivector2d.h"
|
||||||
|
|
||||||
int ROWS_COUNT_INIT = 3;
|
int ROWS_COUNT_INIT = 31;
|
||||||
int ROWS_COUNT_INCREASE = 4;
|
int ROWS_COUNT_INCREASE = 41;
|
||||||
int ROWS_COUNT_REDUCE = 2;
|
int ROWS_COUNT_REDUCE = 22;
|
||||||
|
|
||||||
int COLS_COUNT_INIT = 3;
|
int COLS_COUNT_INIT = 34;
|
||||||
int COLS_COUNT_INCREASE = 4;
|
int COLS_COUNT_INCREASE = 44;
|
||||||
int COLS_COUNT_REDUCE = 2;
|
int COLS_COUNT_REDUCE = 13;
|
||||||
|
|
||||||
void assert_fill_with(PIVector2D<int> vec, int rows, int cols) {
|
void assert_fill_with(PIVector2D<int> vec, int rows, int cols) {
|
||||||
for(int r = 0; r < rows; r++) {
|
for(int r = 0; r < rows; r++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user