Giter Club home page Giter Club logo

jnp_testy's Introduction

JNP_testy

To repozytorium zawiera studenckie testy do zadań z JNP1 w roku akademickim 2022/2023.

Przygotowywanie i uruchamianie testów

Format i sposób uruchomienia testów zależy od specyfiki zadania.

05_kvfifo

To run Kwasow tests include the header in your kvfifo_example.cc file and invoke the function at the end like this:

…
#include "kwasow.h"int main() {
  …

  kwasow::kwasowMain();
}

03_moneybag

Tak samo jak 02_hash.

02_hash

Pliki testowe: Testy korzystają z narzędzia gtest. Przykłady tworzenia testów zawarte są w katalogu 02_hash/tests.

Testowanie: Uruchamiamy plik test.sh w następujący sposób:

./test.sh ścieżka/do/folderu/z/rozwiązaniem

Skrypt usuwa pliki hash.cc i hash.h w swojej lokalizacji!
Podmienia je na linki stałe do faktycznych plików w innej lokalizacji. Dzięki temu CMake musi przebudować testy tylko jeśli zmienisz coś w hash.h

Skrypt test.sh przygotuje plik wykonywalny o nazwie Tests i umieści go w katalogu build. Aby go uruchomić można wykonać:

./build/Tests

lub

cd build
./Tests

01_top7

Pliki testowe: Dla każdego testu powinny zostać stworzone trzy pliki: test.in, test.out oraz test.err.

Testowanie: Do testowania należy użyć pliku test.sh w następujący sposób:

./test.sh ścieżka/do/skomilowanego/top7 ścieżkado/folderu/z/testami

jnp_testy's People

Contributors

kwasow avatar rentib avatar mateuszwasilewski avatar p-fuchs avatar kapustaikwas27 avatar mkostyk avatar wojsza05 avatar wojtek-rz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.