diff --git a/TinySTL/Test/PairTest.cpp b/TinySTL/Test/PairTest.cpp index c8eb905..01fe5fc 100644 --- a/TinySTL/Test/PairTest.cpp +++ b/TinySTL/Test/PairTest.cpp @@ -4,7 +4,8 @@ #include "..\String.h" using namespace TinySTL; -int main(){ + +void testPair(){ // test ctor pair product1; // default constructor pair product2("tomatoes", 2.30); // value init @@ -40,6 +41,4 @@ int main(){ if (foo> bar) std::cout << "foo is greater than bar\n"; if (foo <= bar) std::cout << "foo is less than or equal to bar\n"; if (foo >= bar) std::cout << "foo is greater than or equal to bar\n"; - system("pause"); - return 0; } \ No newline at end of file