This tests the behaviour of a number of the DOM Canvas drawing methods when given 0, inf, or NaN as parameters. A number of the Canvas methods do not have defined behaviour when given inf or nan and so we use UNDEFINED to indicate this.