public void asdfClassifyMessage_VariousNormalMessages_Succeed(double hours, string message) { PrecalculatedAnalysis.LoadAnalysis(@"Call_Analysis.csv", @"CountryZone_Analysis.csv"); Spot spot = new Spot(message);; Assert.AreEqual(hours, spot.Value); }
public void asdfClassifyMessage_VariousNormalMessages_Succeed(double hours, string message) { var d = TestContext.CurrentContext.TestDirectory; PrecalculatedAnalysis.LoadAnalysis($"{d}\\Call_Analysis.csv", $"{d}\\CountryZone_Analysis.csv"); var vm1 = new SpotValueModel("NM2O", new CountryZoneStub("United States", 5, 0), RadioInfo.BandName.EightyMeters, 2); var vm2 = new SpotValueModel("NM2O", new CountryZoneStub("Sri Lanka", 36, 0), RadioInfo.BandName.EightyMeters, 2); var vm3 = new SpotValueModel("NM2Ofooo", new CountryZoneStub("Sri Lanka", 36, 0), RadioInfo.BandName.EightyMeters, 2); var vm4 = new SpotValueModel("NM2O", new CountryZoneStub("Sri Lanka FOOOO", 36, 0), RadioInfo.BandName.EightyMeters, 2); Assert.AreEqual(true, false); }