Skip to content

Commit

Permalink
cleanup test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aparajit-pratap committed Nov 4, 2024
1 parent 651dcdf commit 88b121e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/DynamoCoreWpfTests/PreferencesGeometryScalingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,14 @@ public void GeoScalingPopup_ShowsCorrectSetting() {
//The PolycurveByPoints.dyn has ScaleFactor set to Extra Large
Open(@"core\PolycurveByPoints.dyn");

//Creates the Geometry Scaling Popup and set the ScaleFactor = 2 ( Medium)
var geoScalingPopup = new GeometryScalingPopup(dynamoViewModel);
geoScalingPopup.IsOpen = true;
DispatcherUtil.DoEvents();

//Check that the Medium radio button is checked
var geoScalingVM = geoScalingPopup.ExtraLarge.DataContext as GeometryScalingViewModel;
Assert.NotNull(geoScalingVM);

//Check that the Extra Large setting is selected.
Assert.True(geoScalingVM.ScaleValue == 4);
}

Expand Down

0 comments on commit 88b121e

Please sign in to comment.