public void TestRandomMarket() { var testResult = NaicsMarket.RandomNaicsMarket(); Assert.IsNotNull(testResult); System.Diagnostics.Debug.WriteLine(testResult.Description); }
public void TestToData() { var testSubject = new IObviate[] { NaicsSector.RandomNaicsSector(), NaicsPrimarySector.RandomNaicsPrimarySector(), NaicsSuperSector.RandomNaicsSuperSector(), NaicsMarket.RandomNaicsMarket() }; foreach (var ts in testSubject) { Console.WriteLine(); var testResult = ts.ToData(KindsOfTextCase.Kabab); Assert.IsNotNull(testResult); Assert.AreNotEqual(0, testResult.Count); foreach (var k in testResult.Keys) { Console.WriteLine($"{k}: {testResult[k]}"); } } }