/school-cpp-project

School cpp project

Primary LanguageC++

School C++ project with use of TDD

Postfix, infix and prefix evaluation with parentheses and variables

Project for school subject Programming 3 (C++).

Technologies

  • C++

Testing

Project includes unit tests

Running main() from gtest_main.cc
[==========] Running 26 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 26 tests from Test
[ RUN      ] Test.StackInt
[       OK ] Test.StackInt (0 ms)
[ RUN      ] Test.StackString
[       OK ] Test.StackString (0 ms)
[ RUN      ] Test.konvertovanieNaIntUspesne
[       OK ] Test.konvertovanieNaIntUspesne (0 ms)
[ RUN      ] Test.konvertovanieNaIntNeuspesne
[       OK ] Test.konvertovanieNaIntNeuspesne (0 ms)
[ RUN      ] Test.zistenieCiZnakJeOperatorUspesne
[       OK ] Test.zistenieCiZnakJeOperatorUspesne (0 ms)
[ RUN      ] Test.zistenieCiZnakJeOperatorNeuspesne
[       OK ] Test.zistenieCiZnakJeOperatorNeuspesne (0 ms)
[ RUN      ] Test.testInfixToPostfix1
[       OK ] Test.testInfixToPostfix1 (0 ms)
[ RUN      ] Test.testInfixToPostfix2
[       OK ] Test.testInfixToPostfix2 (0 ms)
[ RUN      ] Test.testComputePrefix
[       OK ] Test.testComputePrefix (0 ms)
[ RUN      ] Test.testComputePrefix2
[       OK ] Test.testComputePrefix2 (0 ms)
[ RUN      ] Test.testComputePrefix3
[       OK ] Test.testComputePrefix3 (1 ms)
[ RUN      ] Test.testComputePrefix4
[       OK ] Test.testComputePrefix4 (0 ms)
[ RUN      ] Test.testComputePrefix4sPremennou
[       OK ] Test.testComputePrefix4sPremennou (0 ms)
[ RUN      ] Test.testComputePrefix4ibaSPremennymi
[       OK ] Test.testComputePrefix4ibaSPremennymi (0 ms)
[ RUN      ] Test.testComputePostfix
[       OK ] Test.testComputePostfix (0 ms)
[ RUN      ] Test.testComputeInfix
[       OK ] Test.testComputeInfix (0 ms)
[ RUN      ] Test.vyhodnotenieVyrazuSPremennou
[       OK ] Test.vyhodnotenieVyrazuSPremennou (0 ms)
[ RUN      ] Test.Vyraz
[       OK ] Test.Vyraz (1 ms)
[ RUN      ] Test.chybaVoVyraze
[       OK ] Test.chybaVoVyraze (0 ms)
[ RUN      ] Test.chybaDelenieNulou
[       OK ] Test.chybaDelenieNulou (0 ms)
[ RUN      ] Test.citanieSuboruZle
[       OK ] Test.citanieSuboruZle (0 ms)
[ RUN      ] Test.citanieSuboruUspesne
[       OK ] Test.citanieSuboruUspesne (1 ms)
[ RUN      ] Test.citanieSuboruSPremennouUspesne
[       OK ] Test.citanieSuboruSPremennouUspesne (1 ms)
[ RUN      ] Test.citanieSuboruSCyklomUspesne
[       OK ] Test.citanieSuboruSCyklomUspesne (1 ms)
[ RUN      ] Test.citanieSuboruDalsieVyrazyUspesne
[       OK ] Test.citanieSuboruDalsieVyrazyUspesne (25 ms)
[ RUN      ] Test.citanieDalsiehoSuboruZle
[       OK ] Test.citanieDalsiehoSuboruZle (0 ms)
[----------] 26 tests from Test (75 ms total)

[----------] Global test environment tear-down
[==========] 26 tests from 1 test case ran. (75 ms total)
[  PASSED  ] 26 tests.