13 references to Should
System.Drawing.Common.Tests (12)
System\Drawing\Drawing2D\GraphicsPathTests.cs (12)
1142
gp.GetBounds().
Should
().BeApproximately(new(60f, 60f, 43.3f, 48.3f), precision: 0.1f);
1731
gp.GetBounds(null).
Should
().BeApproximately(expectedBounds, Delta);
1732
gp.GetBounds(matrix).
Should
().BeApproximately(expectedBounds, Delta);
2079
path.GetBounds().
Should
().BeApproximately(new(1f, 1f, 1f, 1f), precision: 0.000001f);
2095
path.GetBounds().
Should
().BeApproximately(new(2.99962401f, 2.01370716f, 0f, 0.0137047768f), Delta);
2112
path.GetBounds().
Should
().BeApproximately(new(1f, 1f, 3f, 3f), Delta);
2128
path.GetBounds().
Should
().BeApproximately(new(1f, 1f, 1f, 1f), Delta);
2138
path.GetBounds().
Should
().BeApproximately(new(0.8333333f, 0.8333333f, 2.33333278f, 2.33333278f), Delta);
2154
path.GetBounds().
Should
().BeApproximately(new(1f, 1f, 2f, 2f), Delta);
2164
path.GetBounds().
Should
().BeApproximately(new(1f, 1f, 2f, 2f), Delta);
2180
path.GetBounds().
Should
().BeApproximately(new(2f, 2f, 0.9999058f, 0.0274119377f), Delta);
2197
path.GetBounds().
Should
().BeApproximately(new(1f, 1f, 2f, 2f), Delta);
System.Private.Windows.Core.Tests (1)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (1)
1058
RectangleF.
Should
().BeApproximately(other.RectangleF, Delta);