Skip to content

Commit

Permalink
Fixed installing gtest lib
Browse files Browse the repository at this point in the history
  • Loading branch information
tatyanakrivonogova committed Apr 16, 2024
1 parent efc03c5 commit 63d985f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions test/build_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@


# Загрузка и компиляция Google Test
# mkdir gtest
# cd gtest
# git clone https://github.com/google/googletest.git
# cd googletest
# mkdir build
# cd build
# cmake ..
# make
# cd ../../..
ls
ls gtest/googletest/googletest/include/gtest
export CPLUS_INCLUDE_PATH=./gtest/googletest/googletest/include:$CPLUS_INCLUDE_PATH
mkdir gtest
cd gtest
git clone https://github.com/google/googletest.git
cd googletest
mkdir build
cd build
cmake ..
make
cd ../../..
# ls
# ls gtest/googletest/googletest/include/gtest
# export CPLUS_INCLUDE_PATH=./gtest/googletest/googletest/include:$CPLUS_INCLUDE_PATH


# Parse arguments
Expand Down
2 changes: 1 addition & 1 deletion test/simple_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// #include <gtest/gtest.h>
#include <../include/vector.h>
// #include "gtest/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>


TEST(ConstructorTests, ConstructorWithDimension_WhenCalled_CreatesVectorWithZeros)
Expand Down

0 comments on commit 63d985f

Please sign in to comment.