using Nonemm.Spotting.Telnet; namespace Nonemm.Spotting.Tests; public class ClusterPromptsKindTests { [Theory] [InlineData("Hello, this is DXSpider 1.55", ClusterKind.DxSpider)] [InlineData("Welcome to the W3LPL AR-Cluster node", ClusterKind.ArCluster)] [InlineData("N2WQ-1 CC Cluster Telnet", ClusterKind.CcCluster)] [InlineData("GoCluster v1.2", ClusterKind.GoCluster)] [InlineData("please enter your call:", ClusterKind.Unknown)] public void TheBannerNamesTheClusterProgram(string banner, ClusterKind kind) => Assert.Equal(kind, ClusterPrompts.KindOf(banner)); }