typo in model
This commit is contained in:
parent
488fbb383b
commit
017c71a6e8
@ -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; }
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
};
|
||||
}
|
||||
|
@ -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>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user