///	<summary>
        /// Set up tested class instance, test constructor by the way.
        /// </summary>
        public override void setUp()
        {
            base.setUp();

            // index with both small (< 2^31) and big offsets
            var fi = new FileInfo("Resources/pack-huge.idx");
            Assert.IsTrue(fi.Exists, "Does the index exist");
            _idx = PackIndex.Open(fi);
            _reverseIdx = new PackReverseIndex(_idx);
        }
Exemple #2
0
        ///	<summary>
        /// Set up tested class instance, test constructor by the way.
        /// </summary>
        public override void setUp()
        {
            base.setUp();

            // index with both small (< 2^31) and big offsets
            var fi = new FileInfo("Resources/pack-huge.idx");

            Assert.IsTrue(fi.Exists, "Does the index exist");
            _idx        = PackIndex.Open(fi);
            _reverseIdx = new PackReverseIndex(_idx);
        }