13 references to Should
System.Drawing.Common.Tests (12)
System\Drawing\Drawing2D\GraphicsPathTests.cs (12)
1142gp.GetBounds().Should().BeApproximately(new(60f, 60f, 43.3f, 48.3f), precision: 0.1f); 1731gp.GetBounds(null).Should().BeApproximately(expectedBounds, Delta); 1732gp.GetBounds(matrix).Should().BeApproximately(expectedBounds, Delta); 2084path.GetBounds().Should().BeApproximately(new(1f, 1f, 1f, 1f), precision: 0.000001f); 2100path.GetBounds().Should().BeApproximately(new(2.99962401f, 2.01370716f, 0f, 0.0137047768f), Delta); 2117path.GetBounds().Should().BeApproximately(new(1f, 1f, 3f, 3f), Delta); 2133path.GetBounds().Should().BeApproximately(new(1f, 1f, 1f, 1f), Delta); 2143path.GetBounds().Should().BeApproximately(new(0.8333333f, 0.8333333f, 2.33333278f, 2.33333278f), Delta); 2159path.GetBounds().Should().BeApproximately(new(1f, 1f, 2f, 2f), Delta); 2169path.GetBounds().Should().BeApproximately(new(1f, 1f, 2f, 2f), Delta); 2185path.GetBounds().Should().BeApproximately(new(2f, 2f, 0.9999058f, 0.0274119377f), Delta); 2202path.GetBounds().Should().BeApproximately(new(1f, 1f, 2f, 2f), Delta);
System.Windows.Forms.Tests (1)
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (1)
962RectangleF.Should().BeApproximately(other.RectangleF, Delta);