コード例 #1
0
        public void Pointer_ExtensionIsZip_IsZipFileIsTrue(string extension)
        {
            var pointer = new PackagePointer("file." + extension);

            Assert.That(pointer.IsZipFile, Is.True);
        }
コード例 #2
0
        public void Pointer_ExtensionIsNotZip_IsZipFileIsFalse()
        {
            var pointer = new PackagePointer("file.tar");

            Assert.That(pointer.IsZipFile, Is.False);
        }