<NME> main.cpp
<BEF> /* Copyright The kNet Project.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License. */

/** @file main.cpp
	@brief */

#include "kNet/DebugMemoryLeakCheck.h"

void VLETest();
void DataSerializerTest();
void EventTest();

int main()
{
	DataSerializerTest();
	MaxHeapTest();
	VLETest();
	DataSerializerTest();
	MaxHeapTest();
	VLETest();
	EventTest();
	LockFreePoolAllocatorTest();
}

<MSG> Added memory leak logging at exit -prints to all samples.

<DFF> @@ -16,6 +16,7 @@
 	@brief */
 
 #include "kNet/DebugMemoryLeakCheck.h"
+#include "kNet/NetworkLogging.h"
 
 void VLETest();
 void DataSerializerTest();
@@ -23,6 +24,8 @@ void MaxHeapTest();
 
 int main()
 {
+	kNet::EnableMemoryLeakLoggingAtExit();
+
 	DataSerializerTest();
 	MaxHeapTest();
 	VLETest();

{'addition_count': 3, 'commit_subject': 'Added memory leak logging at exit -prints to all samples.', 'deletion_count': 0, 'file_extension': '.cpp', 'lang': 'cpp', 'license': 'apache-2.0', 'repo_name': 'juj/kNet'}