Skip to content

martyniak/codility-challenges

Repository files navigation

C/C++

Environment setup

Windows

  1. Install cygwin64

Linux

  1. Install gcc and g++

Google Test setup

  1. Download google test https://github.com/google/googletest/releases

  2. Unzip it

  3. Build it

     cd googletest        # Main directory of the cloned repository.
     mkdir build          # Create a directory to hold the build output.
     cd build
     cmake ..
     make
    
  4. Copy include content to .lib/gtest

  5. Copy libgtest.a to .lib

Compile the files

  1. Open google test file and press F5 in VSCode (it will trigger lunch.json located at .vscode dir)

Running the tests

./a.exe

Python

Environment setup

  1. Install Python 3

  2. Install virtualenv

     pip install virtualenv
    
  3. Create virtual environment

     virtualenv .venv
    
  4. Activate virtual env

     source .venv/Scripts/activate
    
  5. Install packages

     pip install -i requirements.txt
    

Running the tests

pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published