2
0
mirror of synced 2025-01-11 17:14:25 +00:00

typo in model

This commit is contained in:
benbierens 2024-07-31 11:21:52 +02:00
parent 488fbb383b
commit 017c71a6e8
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
{
public long NumberOfMoments { get; set; }
public long NumberOfEvents { get; set; }
public DateTime EarliestUct { get; set; }
public DateTime EarliestUtc { get; set; }
public DateTime LatestUtc { get; set; }
}

View File

@ -133,7 +133,7 @@ namespace OverwatchTranscript
{
NumberOfMoments = buffer.Count,
NumberOfEvents = buffer.Sum(e => e.Value.Count),
EarliestUct = buffer.Min(e => e.Key),
EarliestUtc = buffer.Min(e => e.Key),
LatestUtc = buffer.Max(e => e.Key)
};
}

View File

@ -68,7 +68,7 @@ namespace FrameworkTests.OverwatchTranscript
Assert.That(header.HeaderData, Is.EqualTo(HeaderData));
Assert.That(reader.Header.NumberOfMoments, Is.EqualTo(3));
Assert.That(reader.Header.NumberOfEvents, Is.EqualTo(4));
Assert.That(reader.Header.EarliestUct, Is.EqualTo(t0));
Assert.That(reader.Header.EarliestUtc, Is.EqualTo(t0));
Assert.That(reader.Header.LatestUtc, Is.EqualTo(t2));
var moments = new List<ActivateMoment>();