Created
February 1, 2019 07:09
-
-
Save PatrickKalkman/fe92c3cb9dd398889fc5adaf96418652 to your computer and use it in GitHub Desktop.
Test for parsing the tag id of the HLS Playlist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestCase("#EXTM3U")] | |
[TestCase("#EXTM3U:")] | |
[TestCase("#EXTM3U\n")] | |
[TestCase("#EXTM3U\n#EXTM3U")] | |
public void ShouldParseStringThatStartsWithPoundAsPlaylistTag(string input) | |
{ | |
string tagId = PlaylistGrammar.TagIdStringParser.Parse(input); | |
Assert.AreEqual("EXTM3U", tagId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment