public void ShouldLoadReplCommandScripts() { var context = new ReplCommandPackContext(); var replCommands = context.ReplCommands; replCommands.ShouldNotBeNull(); var command = replCommands.Any(x => x.Key == "#pi"); command.ShouldBeTrue(); }
public void ShouldGetReplCommandScriptSamples() { var context = new ReplCommandPackContext(); var samples = context.GetReplCommandScriptSamples(); samples.SampleCommands.ShouldNotBeNull(); var command = samples.SampleCommands.Any(x=>x.Key=="#pi"); command.ShouldBeTrue(); }