using Health.WebApi.Endpoints; namespace Health.Tests; public sealed class DoctorEndpointTests { [Fact] public void BeijingDayRange_MapsEarlyUtcTimeToTheCorrectLocalDate() { var utcNow = new DateTime(2026, 7, 13, 17, 30, 0, DateTimeKind.Utc); var (startUtc, endUtc) = DoctorEndpoints.GetBeijingDayRange(utcNow); Assert.Equal(new DateTime(2026, 7, 13, 16, 0, 0, DateTimeKind.Utc), startUtc); Assert.Equal(new DateTime(2026, 7, 14, 16, 0, 0, DateTimeKind.Utc), endUtc); } }