public void GetIndexForItem_ItemIsValue_IndexReturned()
        {
            var p4 = new Nefs20HeaderPart4(this.testItems);

            Assert.Equal(0U, p4.GetIndexForItem(this.file1));
            Assert.Equal(3U, p4.GetIndexForItem(this.file2));
            Assert.Equal(6U, p4.GetIndexForItem(this.file3));
        }
        public void GetIndexForItem_ItemIsDirectory_ZeroReturned()
        {
            var p4 = new Nefs20HeaderPart4(this.testItems);

            Assert.Equal(0U, p4.GetIndexForItem(this.dir1));
        }
        public void GetIndexForItem_ItemIsUncompressed_NegativeOneReturned()
        {
            var p4 = new Nefs20HeaderPart4(this.testItems);

            Assert.Equal(0xFFFFFFFFU, p4.GetIndexForItem(this.file4NotCompressed));
        }