public void WindCompViewModelTest() { WindCompViewModel wcv = new WindCompViewModel(); //var privateObject = new PrivateObject(wcv); wcv.WindDirection = 45; wcv.WindSpeed = 120; wcv.RunwayHeading = 55; Assert.AreEqual(45, wcv.WindDirection); Assert.AreEqual(120, wcv.WindSpeed); Assert.AreEqual(55, wcv.RunwayHeading); }
public WindCompPage(WindCompViewModel model) { InitializeComponent(); DataContext = model; }