public void TestCreateFileBlockById() { Assert.IsInstanceOfType(FileBlock.CreateBlockById(FileBlock.BLOCKID_NULL), typeof(FileBlock), "The BLOCKID_NULL does not generate FileBlocks on CreateBlockById"); Assert.IsInstanceOfType(FileBlock.CreateBlockById(FileBlock.BLOCKID_ANIMATION), typeof(AnimationBlock), "The BLOCKID_FRAME does not generate AnimationBlocks on CreateBlockById"); Assert.IsInstanceOfType(FileBlock.CreateBlockById(FileBlock.BLOCKID_ANIMATION_HEADER), typeof(AnimationHeaderBlock), "The BLOCKID_ANIMATION_HEADER does not generate AnimationHeaderBlocks on CreateBlockById"); Assert.IsInstanceOfType(FileBlock.CreateBlockById(FileBlock.BLOCKID_ANIMATIONSHEET), typeof(AnimationSheetBlock), "The BLOCKID_ANIMATIONSHEET does not generate AnimationSheetBlocks on CreateBlockById"); Assert.IsInstanceOfType(FileBlock.CreateBlockById(FileBlock.BLOCKID_FRAME), typeof(FrameBlock), "The BLOCKID_FRAME does not generate FrameBlocks on CreateBlockById"); Assert.IsInstanceOfType(FileBlock.CreateBlockById(FileBlock.BLOCKID_PROJECTTREE), typeof(ProjectTreeBlock), "The BLOCKID_PROJECTTREE does not generate ProjectTreeBlocks on CreateBlockById"); }