Commit 0a32305f authored by Benjamin Otte's avatar Benjamin Otte
Browse files

testsuite: Add render tests for all the empty nodes

Test that rendering empty nodes succees. For a lot of nodes the
resulting rendering isn't clearly defined, in those cases we overdraw
those regions (sometimes the whole image) with black.
parent eb386134
blur { }
/* The blur algorithm isn't specified, so
don't test it. */
color {
bounds: -3 -3 50 6;
color: black;
}
color {
bounds: 47 -3 6 50;
color: black;
}
color {
bounds: 3 47 50 6;
color: black;
}
color {
bounds: -3 3 6 50;
color: black;
}
container { }
/* We need to contain something because 0x0 nodes
cause NULL textures */
color {
bounds: -1 -1 1 1;
color: transparent;
}
cross-fade { }
/* This is not very useful as a test, because the
resulting color is undefined, because 0.5 * 255
can be rounded to either 127 or 128 by the renderers.
But at least we know they get the size right... */
color {
color: black;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment