Public Access
26 lines
774 B
C#
26 lines
774 B
C#
using MeetingAssistant.MeetingNotes;
|
|
|
|
namespace MeetingAssistant.Tests;
|
|
|
|
#if WINDOWS
|
|
public sealed class OutlookClassicMeetingMetadataProviderTests
|
|
{
|
|
[Fact]
|
|
public void ExtractAgendaStopsBeforeTeamsJoinInformation()
|
|
{
|
|
var agenda = OutlookClassicMeetingMetadataProvider.ExtractAgenda(
|
|
"""
|
|
Review current prototype
|
|
Decide next backend
|
|
|
|
________________________________________________________________________________
|
|
Microsoft Teams Need help?
|
|
Join the meeting now
|
|
https://teams.microsoft.com/l/meetup-join/...
|
|
""");
|
|
|
|
Assert.Equal("Review current prototype\nDecide next backend", agenda.Replace("\r\n", "\n", StringComparison.Ordinal));
|
|
}
|
|
}
|
|
#endif
|