public void Pointer_ExtensionIsZip_IsZipFileIsTrue(string extension) { var pointer = new PackagePointer("file." + extension); Assert.That(pointer.IsZipFile, Is.True); }
public void Pointer_ExtensionIsNotZip_IsZipFileIsFalse() { var pointer = new PackagePointer("file.tar"); Assert.That(pointer.IsZipFile, Is.False); }