Revamped to further simplify and make more correct

This commit is contained in:
Tig
2024-06-30 11:53:54 -07:00
parent 76422667c1
commit cd43ee363d
32 changed files with 299 additions and 191 deletions

View File

@@ -326,8 +326,7 @@ public class AdornmentTests (ITestOutputHelper output)
adornment.ThicknessChanged += (s, e) =>
{
raised = true;
Assert.Equal (Thickness.Empty, e.CurrentValue);
Assert.Equal (new Thickness (1, 2, 3, 4), e.NewValue);
Assert.Equal (new Thickness (1, 2, 3, 4), e.CurrentValue);
Assert.Equal (new Thickness (1, 2, 3, 4), adornment.Thickness);
};
adornment.Thickness = new Thickness (1, 2, 3, 4);