public void PrivateUseContainsPart_PartIsContainedInPrivateUseAndpartDoesNotHavePrependedx_ReturnsTrue() { var rfcTag = new Rfc5646Tag(String.Empty, String.Empty, String.Empty, String.Empty, "audio"); Assert.IsTrue(rfcTag.PrivateUseContains("audio")); }
public void PrivateUseContainsPart_PartConsistsOfMultiplePartsAndAllPartsAreContainedInPrivateUse_ReturnsFalse() { var rfcTag = new Rfc5646Tag("en", String.Empty, String.Empty, String.Empty, "test-audio"); Assert.IsFalse(rfcTag.PrivateUseContains("test-audio")); }
public void PrivateUseContainsPart_PartIsNotContainedInPrivateUse_ReturnsFalse() { var rfcTag = new Rfc5646Tag("en", String.Empty, String.Empty, String.Empty, String.Empty); Assert.IsFalse(rfcTag.PrivateUseContains("audio")); }