PageRenderTime 223ms CodeModel.GetById 111ms app.highlight 2ms RepoModel.GetById 109ms app.codeStats 0ms

/Utilities/Tests/Program.cs

#
C# | 66 lines | 16 code | 7 blank | 43 comment | 0 complexity | 5eff82e88e11f3a8e7233df786f659b1 MD5 | raw file
 1using System;
 2using Delta.Utilities.Networking;
 3using Delta.Utilities.Helpers;
 4using Delta.Utilities.Collections;
 5using Delta.Utilities.Datatypes;
 6using Delta.Utilities.Compression;
 7
 8namespace Delta.Utilities.Tests
 9{
10	/// <summary>
11	/// Program
12	/// </summary>
13	class Program
14	{
15		/// <summary>
16		/// Main
17		/// </summary>
18		static void Main(string[] args)
19		{
20			//SocketHelper.Tests.SendAndReceiveMessageData();
21			//SocketHelper.Tests.StressTest(10000);
22			//BaseServer.Tests.StartServerAndConnect();
23			//Client.Tests.ConnectToServer();
24			//Client.Tests.ConnectToServerShortDelay();
25			//Client.Tests.ConnectToServerLongDelay();
26
27			//Log.Tests.TestLogging();
28
29			//new CacheTests().GetCachedData();
30			//new CacheTests().ClearCachedData();
31			//new CacheTests().MultipleInputKeys();
32			//CacheTests.TestPerformance();
33
34			//new ChangeableListTests().TestChangeableList();
35			//new ChangeableListTests().TestCloningChangeableList();
36			//new StackListTests().TestPush();
37			//new StackListTests().TestPop();
38			//new StackListTests().TestContains();
39			//new StackListTests().TestIterating();
40			//new TreeNodeCollectionTests().TestTreeNode();
41			//new TreeNodeCollectionTests().TestTreeNodeCollection();
42			//new UniqueListTests().TestConstructor();
43
44			//new BoundingBox.Tests().ContainsPartially();
45			//CryptographyTests.EncryptAndDecryptData();
46			//CryptographyTests.TestEncryptDecryptPerformance();
47			//CryptographyTests.EncryptAndDecryptTwoStrings();
48			//RSATst.TestCrypto();
49			CryptographyTests.TestRsaCrypto();
50			//CryptographyTests.EncryptWithPublicRSAKey();
51			//CryptographyTests.DecryptWithPrivateRSAKey();
52
53			//new Zip.Tests().PackAndUnpackTextStream();
54			//CompressionTests.ProfilePackAndUnpackTextMessage();
55
56			//NetworkingTests.StartServerAndConnect();
57			//NetworkingTests.StartEncryptedServerAndConnect();
58			//NetworkingTests.SendBigCompressableMessages();
59			//NetworkingTests.JustConnectAndDisconnectSockets();
60			//NetworkingTests.ConnectToServer();
61			//NetworkingTests.ConnectToServerShortDelay();
62			//NetworkingTests.ConnectToServerLongDelay();
63			//NetworkingTests.StressTest();
64		}
65	}
66}