less-than-zero.x3d |
(.x3d scene, pretty-print source, statistics, info & logs) |
This tests addresses the ability of a browser to set the "whichChoice" field to a negative value. A Switch node with one single item in its "choice" field is defined and the "whichChoice" field is set to -1 (the default value), which indicates that nothing shall be selected from the "choice" field. The test shall generate a green box with some text on top of it If a red box is generated, then a failure occurred. |