Part of Project_zero.
A standalone console application (Testing.exe) that exercises the other four sub-projects — ADT, Allocator, Smart_ptr, and My_algorithms — through a series of practical tests. It is the main entry point for verifying that everything works correctly.
- Runs tests for all sub-projects from a single executable
- Console output with pass/fail results and timing information (provided by
My_algorithms' built-inmeasure_time) - Links against all static libraries (
ADT.lib,Allocator.lib,My_algorithms.lib) and the DLL import library (Smart_ptr.lib)
The ready-to-use binary is in x64/Release/:
x64/Release/
├── Testing.exe ← run this
├── Smart_ptr.dll ← must be in the same folder
├── ADT.lib
├── Allocator.lib
├── My_algorithms.lib
└── Smart_ptr.lib
Important:
Smart_ptr.dllmust be in the same directory asTesting.exe. It is already placed there in the Release output, so just runTesting.exefrom that folder.
Simply double-click Testing.exe or run it from a terminal:
cd x64\Release
Testing.exe
Open Project_zero.slnx in Visual Studio 2022 and set the configuration to Release / x64, then build the solution. Visual Studio will build the sub-projects in dependency order and place all outputs in x64/Release/.
Make sure the following project references are configured for the Testing project:
- Linker → Input → Additional Dependencies:
ADT.lib; Allocator.lib; My_algorithms.lib; Smart_ptr.lib - Linker → General → Additional Library Directories:
$(SolutionDir)x64\Release\ - Include directories pointing to
ADT/,Allocator/,My_algorithms/,Smart_ptr/
| File | Description |
|---|---|
main.cpp |
Entry point; contains all test cases |
- Windows x64
- Visual Studio 2026 / MSVC with C++20 (
/std:c++20) Smart_ptr.dllpresent at runtime (see above)