Exemplo n.º 1
0
        public void PrivateUseContainsPart_PartIsContainedInPrivateUseAndpartDoesNotHavePrependedx_ReturnsTrue()
        {
            var rfcTag = new Rfc5646Tag(String.Empty, String.Empty, String.Empty, String.Empty, "audio");

            Assert.IsTrue(rfcTag.PrivateUseContains("audio"));
        }
Exemplo n.º 2
0
        public void PrivateUseContainsPart_PartConsistsOfMultiplePartsAndAllPartsAreContainedInPrivateUse_ReturnsFalse()
        {
            var rfcTag = new Rfc5646Tag("en", String.Empty, String.Empty, String.Empty, "test-audio");

            Assert.IsFalse(rfcTag.PrivateUseContains("test-audio"));
        }
Exemplo n.º 3
0
        public void PrivateUseContainsPart_PartIsNotContainedInPrivateUse_ReturnsFalse()
        {
            var rfcTag = new Rfc5646Tag("en", String.Empty, String.Empty, String.Empty, String.Empty);

            Assert.IsFalse(rfcTag.PrivateUseContains("audio"));
        }