Esempio n. 1
0
        public void GetIsAdequatelyAnnotated_FullyAnnotated_ReturnsTrue()
        {
            CreateAnnotationFilesForSegmentsCreatedInSetup();
            var timeTier = _collection.GetTimeTier();

            TimeTierTests.CreateAndAnnotateSegment(timeTier, 0, 10f);
            TimeTierTests.CreateAndAnnotateSegment(timeTier, 40f, (float)timeTier.TotalTime.TotalSeconds);

            Assert.IsTrue(_collection.GetIsAdequatelyAnnotated(OralAnnotationType.CarefulSpeech));
            Assert.IsTrue(_collection.GetIsAdequatelyAnnotated(OralAnnotationType.Translation));
        }
Esempio n. 2
0
 /// ------------------------------------------------------------------------------------
 private void CreateAnnotationFilesForSegmentsCreatedInSetup()
 {
     TimeTierTests.CreateAnnotationFiles(_collection.GetTimeTier(),
                                         "10_to_20_Careful.wav", "20_to_30_Careful.wav", "30_to_40_Careful.wav",
                                         "10_to_20_Translation.wav", "20_to_30_Translation.wav", "30_to_40_Translation.wav");
 }