refactor "Demo" -> "Test"
authorTJ <hacker@iam.tj>
Sun, 12 Apr 2015 16:41:33 +0000 (17:41 +0100)
committerTJ <hacker@iam.tj>
Sun, 12 Apr 2015 16:41:33 +0000 (17:41 +0100)
GenericStorageContainerTest.cpp [moved from GenericStorageContainerDemo.cpp with 71% similarity]
Makefile

similarity index 71%
rename from GenericStorageContainerDemo.cpp
rename to GenericStorageContainerTest.cpp
index 847b238..bae3589 100644 (file)
@@ -5,7 +5,9 @@ using namespace tj;
 int
 main (int argc, char **argv, char **env)
 {
-  GenericStorageContainerTemplateImpl<int, Storage::dynamic_array> my_collection();
+  int* test = new int(320596); // initial test value
+  GenericStorageContainerTemplateImpl<int, Storage::dynamic_array> my_collection(test);
+
 
   return 0;
 }
index f690e6e..1e36346 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-BIN=GenericStorageContainerDemo
+BIN=GenericStorageContainerTest
 # must use C++ 2011 standard
 CXX_FLAGS += -Wall --std=c++11 -g