255 references to Equal
Aspire.Dashboard.Tests (7)
TelemetryRepositoryTests\MetricsTests.cs (7)
311Assert.Equal(start, end); 483Assert.Equal(s_testTime.AddMinutes(2), m.Start); 484Assert.Equal(s_testTime.AddMinutes(3), m.End); 489Assert.Equal(s_testTime.AddMinutes(3), m.Start); 490Assert.Equal(s_testTime.AddMinutes(4), m.End); 495Assert.Equal(s_testTime.AddMinutes(4), m.Start); 496Assert.Equal(s_testTime.AddMinutes(5), m.End);
Contract.XmlSerializer.IntegrationTests (6)
XmlSerializerFormatTest.cs (6)
186Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 234Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 282Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 335Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 392Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 449Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime));
dotnet-svcutil.xmlserializer.IntegrationTests (6)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (6)
186Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 234Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 282Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 335Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 392Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime)); 449Assert.Equal(dateTime, serviceProxy1.ReturnInputDateTime(dateTime));
Microsoft.Analyzers.Local.Tests (3)
Json\JsonValueTest.cs (3)
296Assert.Equal(DateTime.MinValue, (DateTime)new JsonValue(false)); 297Assert.Equal(DateTime.MinValue, (DateTime)new JsonValue("Some text")); 300Assert.Equal(now, (DateTime)new JsonValue(now.ToString("o", CultureInfo.InvariantCulture)));
Microsoft.AspNetCore.Authentication.Test (10)
JwtBearerTests.cs (1)
1010Assert.Equal(max, elementValueUtc);
JwtBearerTests_Handler.cs (1)
953Assert.Equal(max, elementValueUtc);
OpenIdConnect\OpenIdConnectTests.cs (8)
403Assert.Equal(DateTime.MaxValue, GetNonceExpirationTime(noncePrefix + DateTime.MaxValue.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1))); 405Assert.Equal(DateTime.MinValue + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + DateTime.MinValue.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1))); 407Assert.Equal(utcNow + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1))); 409Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(noncePrefix, TimeSpan.FromHours(1))); 411Assert.Equal(DateTime.MinValue, GetNonceExpirationTime("", TimeSpan.FromHours(1))); 413Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(noncePrefix + noncePrefix, TimeSpan.FromHours(1))); 415Assert.Equal(utcNow + TimeSpan.FromHours(1), GetNonceExpirationTime(noncePrefix + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1))); 417Assert.Equal(DateTime.MinValue, GetNonceExpirationTime(utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter + utcNow.Ticks.ToString(CultureInfo.InvariantCulture) + nonceDelimiter, TimeSpan.FromHours(1)));
Microsoft.AspNetCore.Components.Tests (4)
EventCallbackFactoryBinderExtensionsTest.cs (2)
398Assert.Equal(expectedValue, value); 437Assert.Equal(expectedValue, value);
ParameterViewTest.cs (2)
200Assert.Equal(default, result); 218Assert.Equal(explicitDefaultValue, result);
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingProviderTests.cs (1)
91Assert.Equal(StringToDateTime("2016-03-01 00:00:00Z"), cacheableKeyRing.ExpirationTimeUtc);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
CertificateManagerTests.cs (2)
64Assert.Equal(now.LocalDateTime, httpsCertificate.NotBefore); 65Assert.Equal(now.AddYears(1).LocalDateTime, httpsCertificate.NotAfter);
Microsoft.AspNetCore.Mvc.Core.Test (7)
Formatters\JsonInputFormatterTestBase.cs (1)
229Assert.Equal(expected, dateValue);
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
857Assert.Equal(dob, model.DateOfBirth); 1034Assert.Equal(new DateTime(2001, 1, 1), model.DateOfBirth);
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
993Assert.Equal(dob, model.DateOfBirth); 1196Assert.Equal(new DateTime(2001, 1, 1), model.DateOfBirth);
ModelBinding\Binders\DateTimeModelBinderTest.cs (2)
174Assert.Equal(expected, model); 197Assert.Equal(expected, model);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (8)
XmlSerializerInputFormatterTest.cs (8)
68Assert.Equal( 105Assert.Equal( 141Assert.Equal( 177Assert.Equal( 221Assert.Equal( 357Assert.Equal( 392Assert.Equal( 617Assert.Equal(XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.Utc), model.SampleDate);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
SimpleTypeModelBinderIntegrationTest.cs (2)
261Assert.Equal(new DateTime(2020, 02, 01, 0, 0, 0, DateTimeKind.Utc), model); 310Assert.Equal(new DateTime(2020, 02, 01, 0, 0, 0, DateTimeKind.Utc), model);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (4)
BsonTempDataSerializerTest.cs (1)
129Assert.Equal(value, roundTripValue);
NewtonsoftJsonInputFormatterTest.cs (1)
517Assert.Equal(new DateTime(2019, 05, 15, 00, 00, 00, DateTimeKind.Unspecified), userModel.DateValue);
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (1)
229Assert.Equal(expected, dateValue);
src\Mvc\Mvc.ViewFeatures\test\Infrastructure\TempDataSerializerTestBase.cs (1)
150Assert.Equal(value, roundTripValue);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Infrastructure\TempDataSerializerTestBase.cs (1)
150Assert.Equal(value, roundTripValue);
Microsoft.AspNetCore.Routing.FunctionalTests (5)
MinimalFormTests.cs (5)
70Assert.Equal(DateTime.Today.AddDays(1), result.DueDate); 130Assert.Equal(DateTime.Today.AddDays(1), result.DueDate); 291Assert.Equal(DateTime.Today.AddDays(1), result.DueDate); 338Assert.Equal(DateTime.Today.AddDays(1), result.DueDate); 498Assert.Equal(DateTime.Today.AddDays(1), result.DueDate);
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\MessagePackHubProtocolTests.cs (1)
49Assert.Equal(expectedUtcDateTime, resultDateTime);
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
536Assert.Equal(realXml.TimeLastChanged, viewXml.TimeLastChanged); 537Assert.Equal(realXml.LastWriteTimeWhenRead, viewXml.LastWriteTimeWhenRead);
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (1)
71Assert.Equal(lwtBefore, lwtAfter);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\BinaryTranslator_Tests.cs (1)
822Assert.Equal(value, deserializedValue);
BackEnd\LoggingService_Tests.cs (4)
750Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp); 835Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp); 888Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp); 942Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp);
FileUtilities_Tests.cs (1)
196Assert.Equal(info.LastWriteTime, new FileInfo(file).LastWriteTime);
Microsoft.Build.Tasks.UnitTests (13)
FileStateTests.cs (10)
112Assert.Equal(info.LastWriteTime, state.LastWriteTime); 131Assert.Equal(info.LastWriteTimeUtc, state.LastWriteTimeUtcFast); 240Assert.Equal(info.LastWriteTime, state.LastWriteTime); 247Assert.Equal(time, state.LastWriteTime); 266Assert.Equal(info.LastWriteTimeUtc, state.LastWriteTimeUtcFast); 273Assert.Equal(time.ToUniversalTime(), state.LastWriteTimeUtcFast); 347Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTime, new FileState(Path.GetTempPath()).LastWriteTime); 353Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTimeUtc, new FileState(Path.GetTempPath()).LastWriteTimeUtcFast); 369Assert.Equal(new FileInfo(file).LastWriteTime, new FileState(file).LastWriteTime); 379Assert.Equal(new FileInfo(file).LastWriteTimeUtc, new FileState(file).LastWriteTimeUtcFast);
NativeMethodsShared_Tests.cs (3)
80Assert.Equal(DateTime.MinValue, nonexistentFileTime); 93Assert.Equal(DateTime.MinValue, directoryTime); 107Assert.Equal(DateTime.MinValue, directoryTime);
Microsoft.Build.Utilities.UnitTests (3)
NativeMethodsShared_Tests.cs (3)
80Assert.Equal(DateTime.MinValue, nonexistentFileTime); 93Assert.Equal(DateTime.MinValue, directoryTime); 107Assert.Equal(DateTime.MinValue, directoryTime);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
ObjectSerializationTests.cs (1)
538Assert.Equal(_testNow, (DateTime)reader.ReadScalarValue());
Microsoft.Data.Analysis.Tests (1)
DataFrameTests.Computations.cs (1)
227Assert.Equal(maxDate, (DateTime)dateTimeColumn[i]);
Microsoft.DotNet.Open.Api.Tools.Tests (1)
OpenApiRefreshTests.cs (1)
94Assert.Equal(firstWriteTime, secondWriteTime);
Microsoft.DotNet.XUnitAssert.Tests (2)
EqualityAssertsTests.cs (2)
1730 Assert.Equal(expected, actual); 1743 var ex = Record.Exception(() => Assert.Equal(expected, actual));
Microsoft.ML.Core.Tests (1)
UnitTests\DataTypes.cs (1)
246Assert.Equal(dt, result);
Microsoft.ML.Tests (1)
TextLoaderTests.cs (1)
1560Assert.Equal(baselineDate, testDate);
Microsoft.VisualBasic.Tests (5)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (5)
348Assert.Equal(info.CreationTime, infoFromIO.CreationTime); 351Assert.Equal(info.LastAccessTime, infoFromIO.LastAccessTime); 377Assert.Equal(info.CreationTime, FileInfoFromSystemIO.CreationTime); 383Assert.Equal(info.LastAccessTime, FileInfoFromSystemIO.LastAccessTime); 384Assert.Equal(info.LastWriteTime, FileInfoFromSystemIO.LastWriteTime);
System.Private.Windows.Core.Tests (9)
System\Value\StoringDateTime.cs (9)
21Assert.Equal(@DateTime, value.GetValue<DateTime>()); 37Assert.Equal(@DateTime, result); 39Assert.Equal(@DateTime, value.GetValue<DateTime>()); 40Assert.Equal(@DateTime, (DateTime)value); 52Assert.Equal(@DateTime, result); 54Assert.Equal(@DateTime, value.GetValue<DateTime>()); 56Assert.Equal(@DateTime, (DateTime)value); 89Assert.Equal(@DateTime, (DateTime)o); 95Assert.Equal(@DateTime, (DateTime)o);
System.Windows.Forms.Primitives.Tests (2)
Interop\Kernel32\FILETIMETests.cs (1)
43Assert.Equal(new DateTime(2020, 05, 13, 13, 3, 12, DateTimeKind.Utc).ToLocalTime(), ft.ToDateTime());
Interop\Kernel32\SYSTEMTIMETests.cs (1)
87Assert.Equal(DateTime.MinValue, dt);
System.Windows.Forms.Tests (136)
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (5)
108Assert.Equal(DateTime.Today, accessibleObject.TodayDate); 136Assert.Equal(DateTimePicker.EffectiveMinDate(minDate), accessibleObject.MinDate); 148Assert.Equal(DateTimePicker.EffectiveMaxDate(maxDate), accessibleObject.MaxDate); 202Assert.Equal(expected.Start, actual.Start); 203Assert.Equal(expected.End, actual.End);
System\Windows\Forms\DateRangeEventArgsTests.cs (2)
20Assert.Equal(start, e.Start); 21Assert.Equal(end, e.End);
System\Windows\Forms\DateTimePickerTests.cs (3)
91Assert.Equal(new DateTime(9998, 12, 31), control.MaxDate); 93Assert.Equal(new DateTime(1753, 1, 1), control.MinDate); 908Assert.Equal(DateTime.MinValue, dateTime);
System\Windows\Forms\MonthCalendarTests.cs (126)
95Assert.Equal(new DateTime(9998, 12, 31), control.MaxDate); 98Assert.Equal(new DateTime(1753, 1, 1), control.MinDate); 114Assert.Equal(DateTime.Now.Date, control.SelectionEnd); 115Assert.Equal(DateTime.Now.Date, control.SelectionRange.Start); 116Assert.Equal(DateTime.Now.Date, control.SelectionRange.End); 118Assert.Equal(DateTime.Now.Date, control.SelectionStart); 133Assert.Equal(DateTime.Now.Date, control.TodayDate); 1326Assert.Equal(expected, calendar.MaxDate); 1327Assert.Equal(expectedSelection, calendar.SelectionStart); 1328Assert.Equal(expectedSelection, calendar.SelectionEnd); 1333Assert.Equal(expected, calendar.MaxDate); 1334Assert.Equal(expectedSelection, calendar.SelectionStart); 1335Assert.Equal(expectedSelection, calendar.SelectionEnd); 1353Assert.Equal(expected, calendar.MaxDate); 1354Assert.Equal(expectedSelection, calendar.SelectionStart); 1355Assert.Equal(expectedSelection, calendar.SelectionEnd); 1363Assert.Equal(expected, calendar.MaxDate); 1364Assert.Equal(expectedSelection, calendar.SelectionStart); 1365Assert.Equal(expectedSelection, calendar.SelectionEnd); 1459Assert.Equal(expected, calendar.MinDate); 1460Assert.Equal(expectedSelection, calendar.SelectionStart); 1461Assert.Equal(expectedSelection, calendar.SelectionEnd); 1466Assert.Equal(expected, calendar.MinDate); 1467Assert.Equal(expectedSelection, calendar.SelectionStart); 1468Assert.Equal(expectedSelection, calendar.SelectionEnd); 1486Assert.Equal(expected, calendar.MinDate); 1487Assert.Equal(expectedSelection, calendar.SelectionStart); 1488Assert.Equal(expectedSelection, calendar.SelectionEnd); 1496Assert.Equal(expected, calendar.MinDate); 1497Assert.Equal(expectedSelection, calendar.SelectionStart); 1498Assert.Equal(expectedSelection, calendar.SelectionEnd); 1961Assert.Equal(value, calendar.SelectionStart); 1962Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 1967Assert.Equal(value, calendar.SelectionStart); 1968Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 1986Assert.Equal(value, calendar.SelectionStart); 1987Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 1995Assert.Equal(value, calendar.SelectionStart); 1996Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 2008Assert.Equal(calendar.MinDate.AddTicks(-1), calendar.SelectionStart); 2019Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.SelectionStart); 2043Assert.Equal(value, calendar.SelectionEnd); 2044Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2049Assert.Equal(value, calendar.SelectionEnd); 2050Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2068Assert.Equal(value, calendar.SelectionEnd); 2069Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2077Assert.Equal(value, calendar.SelectionEnd); 2078Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2140Assert.Equal(expectedSelectionStart, calendar.SelectionRange.Start); 2141Assert.Equal(expectedSelectionEnd, calendar.SelectionRange.End); 2142Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2143Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 2149Assert.Equal(expectedSelectionStart, calendar.SelectionRange.Start); 2150Assert.Equal(expectedSelectionEnd, calendar.SelectionRange.End); 2151Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2152Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 2171Assert.Equal(expectedSelectionStart, calendar.SelectionRange.Start); 2172Assert.Equal(expectedSelectionEnd, calendar.SelectionRange.End); 2173Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2174Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 2183Assert.Equal(expectedSelectionStart, calendar.SelectionRange.Start); 2184Assert.Equal(expectedSelectionEnd, calendar.SelectionRange.End); 2185Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 2186Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 2199Assert.Equal(calendar.MinDate.AddTicks(-1).Date, calendar.SelectionStart); 2200Assert.Equal(calendar.MinDate, calendar.SelectionEnd); 2203Assert.Equal(calendar.MinDate.AddTicks(-1).Date, calendar.SelectionStart); 2204Assert.Equal(calendar.MinDate, calendar.SelectionEnd); 2216Assert.Equal(calendar.MaxDate, calendar.SelectionStart); 2217Assert.Equal(calendar.MaxDate.AddTicks(1).Date, calendar.SelectionEnd); 2220Assert.Equal(calendar.MaxDate, calendar.SelectionStart); 2221Assert.Equal(calendar.MaxDate.AddTicks(1).Date, calendar.SelectionEnd); 2835Assert.Equal(DateTime.Now.Date, control.TodayDate); 2861Assert.Equal(value.Date, calendar.TodayDate); 2867Assert.Equal(value.Date, calendar.TodayDate); 2886Assert.Equal(value.Date, calendar.TodayDate); 2895Assert.Equal(value.Date, calendar.TodayDate); 2908Assert.Equal(calendar.MinDate.AddTicks(-1).Date, calendar.TodayDate); 2919Assert.Equal(calendar.MaxDate.AddTicks(1).Date, calendar.TodayDate); 3968Assert.Equal(date.Date, calendar.SelectionRange.Start); 3969Assert.Equal(date.Date, calendar.SelectionRange.End); 3970Assert.Equal(date, calendar.SelectionStart); 3971Assert.Equal(date, calendar.SelectionEnd); 3976Assert.Equal(date.Date, calendar.SelectionRange.Start); 3977Assert.Equal(date.Date, calendar.SelectionRange.End); 3978Assert.Equal(date, calendar.SelectionStart); 3979Assert.Equal(date, calendar.SelectionEnd); 3997Assert.Equal(date.Date, calendar.SelectionRange.Start); 3998Assert.Equal(date.Date, calendar.SelectionRange.End); 3999Assert.Equal(date, calendar.SelectionStart); 4000Assert.Equal(date, calendar.SelectionEnd); 4008Assert.Equal(date.Date, calendar.SelectionRange.Start); 4009Assert.Equal(date.Date, calendar.SelectionRange.End); 4010Assert.Equal(date, calendar.SelectionStart); 4011Assert.Equal(date, calendar.SelectionEnd); 4023Assert.Equal(calendar.MinDate.AddTicks(-1), calendar.SelectionStart); 4024Assert.Equal(calendar.MinDate.AddTicks(-1), calendar.SelectionEnd); 4035Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.SelectionStart); 4036Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.SelectionEnd); 4075Assert.Equal(expectedSelectionStart.Date, calendar.SelectionRange.Start); 4076Assert.Equal(expectedSelectionEnd.Date, calendar.SelectionRange.End); 4077Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 4078Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 4083Assert.Equal(expectedSelectionStart.Date, calendar.SelectionRange.Start); 4084Assert.Equal(expectedSelectionEnd.Date, calendar.SelectionRange.End); 4085Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 4086Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 4104Assert.Equal(expectedSelectionStart.Date, calendar.SelectionRange.Start); 4105Assert.Equal(expectedSelectionEnd.Date, calendar.SelectionRange.End); 4106Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 4107Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 4115Assert.Equal(expectedSelectionStart.Date, calendar.SelectionRange.Start); 4116Assert.Equal(expectedSelectionEnd.Date, calendar.SelectionRange.End); 4117Assert.Equal(expectedSelectionStart, calendar.SelectionStart); 4118Assert.Equal(expectedSelectionEnd, calendar.SelectionEnd); 4130Assert.Equal(calendar.MinDate.AddTicks(-1), calendar.SelectionStart); 4131Assert.Equal(calendar.MinDate, calendar.SelectionEnd); 4134Assert.Equal(calendar.MinDate, calendar.SelectionStart); 4135Assert.Equal(calendar.MinDate, calendar.SelectionEnd); 4147Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.SelectionStart); 4148Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.SelectionEnd); 4151Assert.Equal(calendar.MaxDate, calendar.SelectionStart); 4152Assert.Equal(calendar.MaxDate.AddTicks(1), calendar.SelectionEnd); 4198Assert.Equal(new DateTime(2021, 8, 29), displayRange.Start); 4199Assert.Equal(new DateTime(2022, 9, 10), displayRange.End);
System.Windows.Forms.UI.IntegrationTests (4)
MonthCalendarTests.cs (4)
96Assert.Equal(newDate.Date, calendar.SelectionStart.Date); 118Assert.Equal(newDate.Date, calendar.SelectionStart.Date); 137Assert.Equal(new DateTime(givenYear, givenMonth, 1), calendar.GetDisplayRange(visible: true).Start); 157Assert.Equal(expectedDate, calendar.GetDisplayRange(visible: true).Start);