AnimationTests CreateAnimationWithEmptyTextures Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Tests
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CreateAnimationWithEmptyTextures()
Examples

[Test, CloseAfterFirstFrame]
public void CreateAnimationWithEmptyTextures()
{
    var emptyImageList = new Image[0];
    Assert.Throws<ImageAnimation.NoImagesGivenNeedAtLeastOne>(
        () => new ImageAnimation(emptyImageList, 3));
}
See Also