Exemple #1
0
        public void LuigiDataBlock_GetBlockTypeFromLuigiTestDataBlock_ReturnsUnknownBlockType()
        {
            var blockType = LuigiDataBlock.GetBlockType <LuigiTestDataBlock>();

            Assert.Equal(LuigiDataBlockType.UnknownBlockType, blockType);
        }
Exemple #2
0
        public void LuigiDataBlock_GetBlockTypeFromLuigiEndOfFileBlock_ReturnsEndOfFile()
        {
            var blockType = LuigiDataBlock.GetBlockType <LuigiEndOfFileBlock>();

            Assert.Equal(LuigiDataBlockType.EndOfFile, blockType);
        }
Exemple #3
0
        public void LuigiDataBlock_GetBlockTypeFromLuigiMetadataBlock_ReturnsMetadata()
        {
            var blockType = LuigiDataBlock.GetBlockType <LuigiMetadataBlock>();

            Assert.Equal(LuigiDataBlockType.Metadata, blockType);
        }
Exemple #4
0
        public void LuigiDataBlock_GetBlockTypeFromLuigiDataHunkBlock_ReturnsDataHunk()
        {
            var blockType = LuigiDataBlock.GetBlockType <LuigiDataHunkBlock>();

            Assert.Equal(LuigiDataBlockType.DataHunk, blockType);
        }
Exemple #5
0
        public void LuigiDataBlock_GetBlockTypeFromLuigiMemoryMapAndPermissionsTableBlock_ReturnsMemoryMapAndPermissionsTable()
        {
            var blockType = LuigiDataBlock.GetBlockType <LuigiMemoryMapAndPermissionsTableBlock>();

            Assert.Equal(LuigiDataBlockType.MemoryMapAndPermissionsTable, blockType);
        }
Exemple #6
0
        public void LuigiDataBlock_GetBlockTypeFromLuigiScrambleKeyBlock_ReturnsSetScrambleKey()
        {
            var blockType = LuigiDataBlock.GetBlockType <LuigiScrambleKeyBlock>();

            Assert.Equal(LuigiDataBlockType.SetScrambleKey, blockType);
        }