/Utilities/Tests/Program.cs
# · C# · 66 lines · 16 code · 7 blank · 43 comment · 0 complexity · 5eff82e88e11f3a8e7233df786f659b1 MD5 · raw file
- using System;
- using Delta.Utilities.Networking;
- using Delta.Utilities.Helpers;
- using Delta.Utilities.Collections;
- using Delta.Utilities.Datatypes;
- using Delta.Utilities.Compression;
-
- namespace Delta.Utilities.Tests
- {
- /// <summary>
- /// Program
- /// </summary>
- class Program
- {
- /// <summary>
- /// Main
- /// </summary>
- static void Main(string[] args)
- {
- //SocketHelper.Tests.SendAndReceiveMessageData();
- //SocketHelper.Tests.StressTest(10000);
- //BaseServer.Tests.StartServerAndConnect();
- //Client.Tests.ConnectToServer();
- //Client.Tests.ConnectToServerShortDelay();
- //Client.Tests.ConnectToServerLongDelay();
-
- //Log.Tests.TestLogging();
-
- //new CacheTests().GetCachedData();
- //new CacheTests().ClearCachedData();
- //new CacheTests().MultipleInputKeys();
- //CacheTests.TestPerformance();
-
- //new ChangeableListTests().TestChangeableList();
- //new ChangeableListTests().TestCloningChangeableList();
- //new StackListTests().TestPush();
- //new StackListTests().TestPop();
- //new StackListTests().TestContains();
- //new StackListTests().TestIterating();
- //new TreeNodeCollectionTests().TestTreeNode();
- //new TreeNodeCollectionTests().TestTreeNodeCollection();
- //new UniqueListTests().TestConstructor();
-
- //new BoundingBox.Tests().ContainsPartially();
- //CryptographyTests.EncryptAndDecryptData();
- //CryptographyTests.TestEncryptDecryptPerformance();
- //CryptographyTests.EncryptAndDecryptTwoStrings();
- //RSATst.TestCrypto();
- CryptographyTests.TestRsaCrypto();
- //CryptographyTests.EncryptWithPublicRSAKey();
- //CryptographyTests.DecryptWithPrivateRSAKey();
-
- //new Zip.Tests().PackAndUnpackTextStream();
- //CompressionTests.ProfilePackAndUnpackTextMessage();
-
- //NetworkingTests.StartServerAndConnect();
- //NetworkingTests.StartEncryptedServerAndConnect();
- //NetworkingTests.SendBigCompressableMessages();
- //NetworkingTests.JustConnectAndDisconnectSockets();
- //NetworkingTests.ConnectToServer();
- //NetworkingTests.ConnectToServerShortDelay();
- //NetworkingTests.ConnectToServerLongDelay();
- //NetworkingTests.StressTest();
- }
- }
- }