diff options
Added reworked how tests are built University-submission
17 files changed, 85 insertions, 44 deletions
| -rw-r--r-- | docs/html/index.html | 8 | ||||
| -rw-r--r-- | docs/index.md | 10 | ||||
| -rw-r--r-- | docs/latex/classList.pdf | 12 | ||||
| -rw-r--r-- | docs/latex/classOrderedList.pdf | 12 | ||||
| -rw-r--r-- | docs/latex/index.tex | 11 | ||||
| -rw-r--r-- | docs/latex/refman.aux | 20 | ||||
| -rw-r--r-- | docs/latex/refman.log | 32 | ||||
| -rw-r--r-- | docs/latex/refman.pdf | bin | 287272 -> 288245 bytes | |||
| -rw-r--r-- | docs/latex/refman.toc | 9 | ||||
| -rw-r--r-- | tests/Tests_ALL.cpp | 9 | ||||
| -rw-r--r-- | tests/Tests_Command.h (renamed from tests/Tests_Command.cpp) | 1 | ||||
| -rw-r--r-- | tests/Tests_Date.h (renamed from tests/Tests_Date.cpp) | 1 | ||||
| -rw-r--r-- | tests/Tests_Event.h (renamed from tests/Tests_Event.cpp) | 0 | ||||
| -rw-r--r-- | tests/Tests_Hall.h (renamed from tests/Tests_Hall.cpp) | 1 | ||||
| -rw-r--r-- | tests/Tests_Reservation.h (renamed from tests/Tests_Reservation.cpp) | 1 | ||||
| -rw-r--r-- | tests/Tests_String.h (renamed from tests/Tests_String.cpp) | 1 | ||||
| -rw-r--r-- | tests/Tests_Ticket.h (renamed from tests/Tests_Ticket.cpp) | 1 |
diff --git a/docs/html/index.html b/docs/html/index.html index 249286d..ae068ae 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -95,6 +95,12 @@ Linux/BSD/MacOS</h2> Windows (PowerShell)</h2> <div class="fragment"><div class="line">g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe</div> </div><!-- fragment --><h1><a class="anchor" id="autotoc_md5"></a> +Running the tests</h1> +<p >Instructions are all for <code>gcc</code>. All commands should be executed while in the <code>tests</code> folder.</p> +<h2><a class="anchor" id="autotoc_md6"></a> +Linux/BSD/MacOS</h2> +<div class="fragment"><div class="line">g++ Tests_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -o Tests_ALL.out && ./Tests_ALL.out</div> +</div><!-- fragment --><h1><a class="anchor" id="autotoc_md7"></a> Acknowledgements</h1> <dl> <dt>Wikipedia </dt> @@ -104,7 +110,7 @@ Acknowledgements</h1> <dd>Way to clear the console in <a class="el" href="Toolbox_8hpp.html" title="Stores a wide range of functions for simpler/more automated printing.">Toolbox.hpp</a> <br /> <a href="https://stackoverflow.com/a/52895729/12036073">https://stackoverflow.com/a/52895729/12036073</a> </dd> </dl> -<h1><a class="anchor" id="autotoc_md6"></a> +<h1><a class="anchor" id="autotoc_md8"></a> Figures</h1> <p ><a class="anchor" id="fig1"></a><b>Figure 1:</b> Overview of the "FMI Ticket System" design</p> <div class="image"> diff --git a/docs/index.md b/docs/index.md index b2b183c..c9e1134 100644 --- a/docs/index.md +++ b/docs/index.md @@ -39,6 +39,16 @@ g++ *.cpp */*.cpp */*/*.cpp -o TicketSystem.out && ./TicketSystem.out g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe ``` +## Running the tests + +Instructions are all for `gcc`. All commands should be executed while in the `tests` folder. + +### Linux/BSD/MacOS + +```bash +g++ Tests_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -o Tests_ALL.out && ./Tests_ALL.out +``` + ## Acknowledgements <dl> diff --git a/docs/latex/classList.pdf b/docs/latex/classList.pdf index d0ee570..072935e 100644 --- a/docs/latex/classList.pdf +++ b/docs/latex/classList.pdf @@ -74,10 +74,10 @@ endobj <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'> <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'> <rdf:Description rdf:about="" xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.53.3'/> -<rdf:Description rdf:about="" xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2022-05-12T20:19:17+03:00</xmp:ModifyDate> -<xmp:CreateDate>2022-05-12T20:19:17+03:00</xmp:CreateDate> +<rdf:Description rdf:about="" xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2022-05-12T20:31:17+03:00</xmp:ModifyDate> +<xmp:CreateDate>2022-05-12T20:31:17+03:00</xmp:CreateDate> <xmp:CreatorTool>Doxygen</xmp:CreatorTool></rdf:Description> -<rdf:Description rdf:about="" xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:33d7ba6f-0a34-11f8-0000-07a3afc5922a'/> +<rdf:Description rdf:about="" xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:e0ff0276-0a35-11f8-0000-07a3afc5922a'/> <rdf:Description rdf:about="" xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>ClassName</rdf:li></rdf:Alt></dc:title><dc:creator><rdf:Seq><rdf:li></rdf:li></rdf:Seq></dc:creator></rdf:Description> </rdf:RDF> </x:xmpmeta> @@ -88,8 +88,8 @@ endstream endobj 2 0 obj <</Producer(GPL Ghostscript 9.53.3) -/CreationDate(D:20220512201917+03'00') -/ModDate(D:20220512201917+03'00') +/CreationDate(D:20220512203117+03'00') +/ModDate(D:20220512203117+03'00') /Title(ClassName) /Creator(Doxygen) /Author()>>endobj @@ -109,7 +109,7 @@ xref 0000002748 00000 n trailer << /Size 12 /Root 1 0 R /Info 2 0 R -/ID [<0EF19F22F689AC8E3058E6CE4329811B><0EF19F22F689AC8E3058E6CE4329811B>] +/ID [<2C91EE083BFA5F7C036C26C82C94FBC4><2C91EE083BFA5F7C036C26C82C94FBC4>] >> startxref 4229 diff --git a/docs/latex/classOrderedList.pdf b/docs/latex/classOrderedList.pdf index cf2fb6d..b49d530 100644 --- a/docs/latex/classOrderedList.pdf +++ b/docs/latex/classOrderedList.pdf @@ -75,10 +75,10 @@ endobj <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'> <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'> <rdf:Description rdf:about="" xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.53.3'/> -<rdf:Description rdf:about="" xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2022-05-12T20:19:17+03:00</xmp:ModifyDate> -<xmp:CreateDate>2022-05-12T20:19:17+03:00</xmp:CreateDate> +<rdf:Description rdf:about="" xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2022-05-12T20:31:17+03:00</xmp:ModifyDate> +<xmp:CreateDate>2022-05-12T20:31:17+03:00</xmp:CreateDate> <xmp:CreatorTool>Doxygen</xmp:CreatorTool></rdf:Description> -<rdf:Description rdf:about="" xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:33d7ba6f-0a34-11f8-0000-265b83144446'/> +<rdf:Description rdf:about="" xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:e0ff0276-0a35-11f8-0000-265b83144446'/> <rdf:Description rdf:about="" xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>ClassName</rdf:li></rdf:Alt></dc:title><dc:creator><rdf:Seq><rdf:li></rdf:li></rdf:Seq></dc:creator></rdf:Description> </rdf:RDF> </x:xmpmeta> @@ -89,8 +89,8 @@ endstream endobj 2 0 obj <</Producer(GPL Ghostscript 9.53.3) -/CreationDate(D:20220512201917+03'00') -/ModDate(D:20220512201917+03'00') +/CreationDate(D:20220512203117+03'00') +/ModDate(D:20220512203117+03'00') /Title(ClassName) /Creator(Doxygen) /Author()>>endobj @@ -110,7 +110,7 @@ xref 0000002752 00000 n trailer << /Size 12 /Root 1 0 R /Info 2 0 R -/ID [<390CF1C4862214E16A53E7299A120F60><390CF1C4862214E16A53E7299A120F60>] +/ID [<497BA3445BC612F34C75267FB1F523CD><497BA3445BC612F34C75267FB1F523CD>] >> startxref 4233 diff --git a/docs/latex/index.tex b/docs/latex/index.tex index a85f5b5..7552a6f 100644 --- a/docs/latex/index.tex +++ b/docs/latex/index.tex @@ -35,14 +35,21 @@ Instructions are all for {\ttfamily gcc}. All commands should be executed while \DoxyCodeLine{g++ (Get-\/ChildItem -\/Recurse *.cpp) -\/o TicketSystem.exe \&\& ./TicketSystem.exe} \end{DoxyCode} -\hypertarget{index_autotoc_md5}{}\doxysection{Acknowledgements}\label{index_autotoc_md5} +\hypertarget{index_autotoc_md5}{}\doxysection{Running the tests}\label{index_autotoc_md5} +Instructions are all for {\ttfamily gcc}. All commands should be executed while in the {\ttfamily tests} folder.\hypertarget{index_autotoc_md6}{}\doxysubsection{Linux/\+BSD/\+Mac\+OS}\label{index_autotoc_md6} + +\begin{DoxyCode}{0} +\DoxyCodeLine{g++ Tests\_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -\/o Tests\_ALL.out \&\& ./Tests\_ALL.out} + +\end{DoxyCode} +\hypertarget{index_autotoc_md7}{}\doxysection{Acknowledgements}\label{index_autotoc_md7} \begin{DoxyDescription} \item[Wikipedia ]Leap year calculation for \mbox{\hyperlink{classDate}{Date}} ~\newline \href{https://en.wikipedia.org/wiki/Leap_year\#Gregorian_calendar}{\texttt{ https\+://en.\+wikipedia.\+org/wiki/\+Leap\+\_\+year\#\+Gregorian\+\_\+calendar}} \item[Stack\+Overflow ]Way to clear the console in \mbox{\hyperlink{Toolbox_8hpp}{Toolbox.\+hpp}} ~\newline \href{https://stackoverflow.com/a/52895729/12036073}{\texttt{ https\+://stackoverflow.\+com/a/52895729/12036073}} -\end{DoxyDescription}\hypertarget{index_autotoc_md6}{}\doxysection{Figures}\label{index_autotoc_md6} +\end{DoxyDescription}\hypertarget{index_autotoc_md8}{}\doxysection{Figures}\label{index_autotoc_md8} \label{index_fig1}% \Hypertarget{index_fig1}% {\bfseries{Figure 1\+:}} Overview of the \char`\"{}\+FMI Ticket System\char`\"{} design diff --git a/docs/latex/refman.aux b/docs/latex/refman.aux index 860d0a1..f22f225 100644 --- a/docs/latex/refman.aux +++ b/docs/latex/refman.aux @@ -27,11 +27,21 @@ \newlabel{index_autotoc_md0}{{1.1}{1}{About}{section.1.1}{}} \@writefile{toc}{\contentsline {section}{\numberline {1.2}Structure overview}{1}{section.1.2}\protected@file@percent } \newlabel{index_autotoc_md1}{{1.2}{1}{Structure overview}{section.1.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {1.3}Acknowledgements}{2}{section.1.3}\protected@file@percent } -\newlabel{index_autotoc_md2}{{1.3}{2}{Acknowledgements}{section.1.3}{}} -\@writefile{toc}{\contentsline {section}{\numberline {1.4}Figures}{2}{section.1.4}\protected@file@percent } -\newlabel{index_autotoc_md3}{{1.4}{2}{Figures}{section.1.4}{}} -\newlabel{index_fig1}{{1.4}{2}{Figures}{section.1.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.3}Building the project}{2}{section.1.3}\protected@file@percent } +\newlabel{index_autotoc_md2}{{1.3}{2}{Building the project}{section.1.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.3.1}\protected@file@percent } +\newlabel{index_autotoc_md3}{{1.3.1}{2}{Linux/\+BSD/\+Mac\+OS}{subsection.1.3.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.2}Windows (\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Power\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Shell)}{2}{subsection.1.3.2}\protected@file@percent } +\newlabel{index_autotoc_md4}{{1.3.2}{2}{Windows (\+Power\+Shell)}{subsection.1.3.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.4}Running the tests}{2}{section.1.4}\protected@file@percent } +\newlabel{index_autotoc_md5}{{1.4}{2}{Running the tests}{section.1.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.4.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.4.1}\protected@file@percent } +\newlabel{index_autotoc_md6}{{1.4.1}{2}{Linux/\+BSD/\+Mac\+OS}{subsection.1.4.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.5}Acknowledgements}{2}{section.1.5}\protected@file@percent } +\newlabel{index_autotoc_md7}{{1.5}{2}{Acknowledgements}{section.1.5}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.6}Figures}{2}{section.1.6}\protected@file@percent } +\newlabel{index_autotoc_md8}{{1.6}{2}{Figures}{section.1.6}{}} +\newlabel{index_fig1}{{1.6}{2}{Figures}{section.1.6}{}} \@writefile{lof}{\contentsline {figure}{\numberline {1.1}{\ignorespaces Not available in La\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Te\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}X!}}{2}{figure.caption.1}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {2}Hierarchical Index}{3}{chapter.2}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} diff --git a/docs/latex/refman.log b/docs/latex/refman.log index 0c9cb4b..a61a76e 100644 --- a/docs/latex/refman.log +++ b/docs/latex/refman.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 Funtoo Linux) (preloaded format=pdflatex 2022.4.8) 12 MAY 2022 20:14 +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 Funtoo Linux) (preloaded format=pdflatex 2022.4.8) 12 MAY 2022 20:31 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -1019,7 +1019,9 @@ LaTeX Warning: Font shape declaration has incorrect series value `mc'. LaTeX Font Info: Font shape `TS1/phv/m/n' will be (Font) scaled to size 8.99994pt on input line 19. LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 6.29996pt on input line 30. +(Font) scaled to size 10.79993pt on input line 26. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 6.29996pt on input line 26. [1 @@ -1031,7 +1033,7 @@ See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... -l.39 ...rue]{FMI-OOP-P1_TicketSystem Overview.svg} +l.59 ...rue]{FMI-OOP-P1_TicketSystem Overview.svg} ? ) [2] @@ -1218,8 +1220,6 @@ nput line 18. ] Chapter 5. (./classCommand.tex -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 10.79993pt on input line 12. LaTeX Font Info: Font shape `T1/phv/m/n' will be (Font) scaled to size 8.09995pt on input line 17. LaTeX Font Info: Font shape `T1/phv/m/it' in size <9> not available @@ -1477,7 +1477,7 @@ Underfull \hbox (badness 10000) detected at line 60 [] ) (./classList.tex <./classList.pdf> -<classList.pdf, id=582, 501.875pt x 340.25119pt> +<classList.pdf, id=592, 501.875pt x 340.25119pt> File: classList.pdf Graphic file (type pdf) <use classList.pdf> Package pdftex.def Info: classList.pdf used on input line 15. @@ -1590,7 +1590,7 @@ Package longtable Warning: Column widths have changed (longtable) in table 5.17 on input line 148. ) (./classOrderedList.tex <./classOrderedList.pdf> -<classOrderedList.pdf, id=766, 501.875pt x 340.25119pt> +<classOrderedList.pdf, id=776, 501.875pt x 340.25119pt> File: classOrderedList.pdf Graphic file (type pdf) <use classOrderedList.pdf> Package pdftex.def Info: classOrderedList.pdf used on input line 15. @@ -2080,7 +2080,7 @@ Package rerunfilecheck Warning: File `refman.out' has changed. Package rerunfilecheck Info: Checksums for `refman.out': (rerunfilecheck) Before: <no file> -(rerunfilecheck) After: 3440AC0C41982DE2B7FFE393A388B650;41850. +(rerunfilecheck) After: B8054B7EE97E48507319E9C6C798020D;42752. LaTeX Warning: There were undefined references. @@ -2089,10 +2089,10 @@ LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) Here is how much of TeX's memory you used: - 17924 strings out of 482368 - 269195 string characters out of 5952188 - 530503 words of memory out of 5000000 - 32188 multiletter control sequences out of 15000+600000 + 17939 strings out of 482368 + 269445 string characters out of 5952188 + 529503 words of memory out of 5000000 + 32193 multiletter control sequences out of 15000+600000 598871 words of font info for 113 fonts, out of 8000000 for 9000 452 hyphenation exceptions out of 8191 55i,16n,96p,891b,634s stack positions out of 5000i,500n,10000p,200000b,80000s @@ -2107,10 +2107,10 @@ fb></usr/share/texmf-dist/fonts/type1/urw/courier/ucrro8a.pfb></usr/share/texmf -dist/fonts/type1/urw/helvetic/uhvb8a.pfb></usr/share/texmf-dist/fonts/type1/ur w/helvetic/uhvb8ac.pfb></usr/share/texmf-dist/fonts/type1/urw/helvetic/uhvr8a.p fb></usr/share/texmf-dist/fonts/type1/urw/helvetic/uhvro8a.pfb> -Output written on refman.pdf (78 pages, 287272 bytes). +Output written on refman.pdf (78 pages, 288245 bytes). PDF statistics: - 2004 PDF objects out of 2073 (max. 8388607) - 1876 compressed objects within 19 object streams - 596 named destinations out of 1000 (max. 500000) + 2015 PDF objects out of 2073 (max. 8388607) + 1887 compressed objects within 19 object streams + 606 named destinations out of 1000 (max. 500000) 11 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/docs/latex/refman.pdf b/docs/latex/refman.pdf Binary files differindex 6a4170b..86078ce 100644 --- a/docs/latex/refman.pdf +++ b/docs/latex/refman.pdf diff --git a/docs/latex/refman.toc b/docs/latex/refman.toc index 48ee10f..bdfe232 100644 --- a/docs/latex/refman.toc +++ b/docs/latex/refman.toc @@ -2,8 +2,13 @@ \contentsline {chapter}{\numberline {1}FMI Tickets System}{1}{chapter.1}% \contentsline {section}{\numberline {1.1}About}{1}{section.1.1}% \contentsline {section}{\numberline {1.2}Structure overview}{1}{section.1.2}% -\contentsline {section}{\numberline {1.3}Acknowledgements}{2}{section.1.3}% -\contentsline {section}{\numberline {1.4}Figures}{2}{section.1.4}% +\contentsline {section}{\numberline {1.3}Building the project}{2}{section.1.3}% +\contentsline {subsection}{\numberline {1.3.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.3.1}% +\contentsline {subsection}{\numberline {1.3.2}Windows (\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Power\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Shell)}{2}{subsection.1.3.2}% +\contentsline {section}{\numberline {1.4}Running the tests}{2}{section.1.4}% +\contentsline {subsection}{\numberline {1.4.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.4.1}% +\contentsline {section}{\numberline {1.5}Acknowledgements}{2}{section.1.5}% +\contentsline {section}{\numberline {1.6}Figures}{2}{section.1.6}% \contentsline {chapter}{\numberline {2}Hierarchical Index}{3}{chapter.2}% \contentsline {section}{\numberline {2.1}Class Hierarchy}{3}{section.2.1}% \contentsline {chapter}{\numberline {3}Class Index}{5}{chapter.3}% diff --git a/tests/Tests_ALL.cpp b/tests/Tests_ALL.cpp new file mode 100644 index 0000000..2252865 --- /dev/null +++ b/tests/Tests_ALL.cpp @@ -0,0 +1,9 @@ +#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN +#include "../doctest/doctest/doctest.h" +#include "Tests_Command.h" +#include "Tests_Date.h" +#include "Tests_Event.h" +#include "Tests_Hall.h" +#include "Tests_Reservation.h" +#include "Tests_String.h" +#include "Tests_Ticket.h" diff --git a/tests/Tests_Command.cpp b/tests/Tests_Command.h index 6cac193..02325cd 100644 --- a/tests/Tests_Command.cpp +++ b/tests/Tests_Command.h @@ -1,5 +1,4 @@ #include <cstring> -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "../doctest/doctest/doctest.h" #include "../src/Generic/ConsoleInterface/Command.h" diff --git a/tests/Tests_Date.cpp b/tests/Tests_Date.h index 77e381d..17878d9 100644 --- a/tests/Tests_Date.cpp +++ b/tests/Tests_Date.h @@ -1,5 +1,4 @@ #include <cstring> -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "../doctest/doctest/doctest.h" #include "../src/Generic/Date/Date.h" diff --git a/tests/Tests_Event.cpp b/tests/Tests_Event.h index a27142a..a27142a 100644 --- a/tests/Tests_Event.cpp +++ b/tests/Tests_Event.h diff --git a/tests/Tests_Hall.cpp b/tests/Tests_Hall.h index 5c3be7e..01e5979 100644 --- a/tests/Tests_Hall.cpp +++ b/tests/Tests_Hall.h @@ -1,4 +1,3 @@ -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "../doctest/doctest/doctest.h" #include "../src/Models/Hall.h" diff --git a/tests/Tests_Reservation.cpp b/tests/Tests_Reservation.h index ecb1efe..31efaf9 100644 --- a/tests/Tests_Reservation.cpp +++ b/tests/Tests_Reservation.h @@ -1,5 +1,4 @@ #include <cstring> -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "../doctest/doctest/doctest.h" #include "../src/Models/Reservation.h" diff --git a/tests/Tests_String.cpp b/tests/Tests_String.h index 9f6d754..542b6d8 100644 --- a/tests/Tests_String.cpp +++ b/tests/Tests_String.h @@ -1,5 +1,4 @@ #include <cstring> -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "../doctest/doctest/doctest.h" #include "../src/Generic/String/String.h" diff --git a/tests/Tests_Ticket.cpp b/tests/Tests_Ticket.h index 4d0be5c..fc1855c 100644 --- a/tests/Tests_Ticket.cpp +++ b/tests/Tests_Ticket.h @@ -1,4 +1,3 @@ -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "../doctest/doctest/doctest.h" #include "../src/Models/Ticket.h" |
