Exemple #1
0
 public void GetTotalAnnotatedTime_NoSegments_ReturnsZero()
 {
     _collection.GetTranscriptionTier().Segments.Clear();
     _collection.GetFreeTranslationTier().Segments.Clear();
     _collection.GetTimeTier().Segments.Clear();
     Assert.AreEqual(TimeSpan.Zero, _collection.GetTotalAnnotatedTime(TextAnnotationType.Transcription));
     Assert.AreEqual(TimeSpan.Zero, _collection.GetTotalAnnotatedTime(TextAnnotationType.Translation));
 }