Public Access
27 lines
591 B
C#
27 lines
591 B
C#
using MeetingAssistant.Transcription;
|
|
|
|
namespace MeetingAssistant.Tests;
|
|
|
|
public sealed class DictationWordStoreTests
|
|
{
|
|
[Fact]
|
|
public void NormalizeParsesMarkdownBulletsAndDeduplicatesWords()
|
|
{
|
|
var words = MarkdownDictationWordStore.Normalize([
|
|
"- PBI",
|
|
"* Product Backlog Item",
|
|
"pbi",
|
|
"`Velocity Vanguards`",
|
|
"",
|
|
" \"SEW\" "
|
|
]);
|
|
|
|
Assert.Equal([
|
|
"PBI",
|
|
"Product Backlog Item",
|
|
"SEW",
|
|
"Velocity Vanguards"
|
|
], words);
|
|
}
|
|
}
|