Skip to content

Commit

Permalink
Fix Aust Bittern test
Browse files Browse the repository at this point in the history
Issue #390/396
  • Loading branch information
towsey authored and atruskie committed Nov 1, 2020
1 parent 1abf01b commit ecff057
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ SegmentDuration: 60
# SegmentOverlap: units=seconds;
SegmentOverlap: 0

# Scan spectrogram at these thresholds
DecibelThresholds:
- 3.0
- 6.0
- 9.0

# Each of these profiles will be analyzed
# This profile is required for the species-specific recogniser and must have the current name.
Profiles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ public void TestRecognizer()
Assert.IsNull(scoreTrack);
Assert.AreEqual(3, plots.Count);
Assert.AreEqual(938, sonogram.FrameCount);

Assert.IsInstanceOfType(events[0], typeof(CompositeEvent));

var onlyEvent = (CompositeEvent)events[0];

//note this event contains four syllables and one echo, therefore five components.
var onlyEvent = (CompositeEvent)events[0];
Assert.AreEqual(5, onlyEvent.ComponentCount);
Assert.AreEqual(5.12, onlyEvent.EventStartSeconds);
Assert.AreEqual(12.256, onlyEvent.EventEndSeconds);
Expand Down

0 comments on commit ecff057

Please sign in to comment.