function validate( node ) {
		var before;
		var after;
		var test;

		test = node.test;
		if ( test ) {
			before = source.getTokenBefore( test );
			after = source.getTokenAfter( test );
			if ( before.value !== '(' || after.value !== ')' ) {
				report( test );
			}
		}
	}
Checks that a ternary condition is parenthesized.

@private
@param {ASTNode} node - node to examine