public void CommandLineWithSyncLoggingAndMultithreadingTest() { string template = @"logpath -L -p -1001 -s 5 "; KdbPlusCommandLineBuilder builder = new KdbPlusCommandLineBuilder(); builder.SetLog("logpath").EnableSyncLogging().SetPort(1001).EnableMultiThreading().SetThreadCount(5); Assert.AreEqual(builder.CreateNew(), template); }
public void EmptyCommandLineTest() { KdbPlusCommandLineBuilder builder = new KdbPlusCommandLineBuilder(); Assert.AreEqual(builder.CreateNew(), string.Empty); }