@Test
public void evaluateNormDiscrete(){

	FieldName name = FieldName.create("x");
	Double equals = 1d;
	Double notEquals = 0d;
	NormDiscrete stringThree = new NormDiscrete(name, "3");
	assertEquals(equals, evaluate(stringThree, name, "3"));
	assertEquals(notEquals, evaluate(stringThree, name, "1"));
	stringThree.setMapMissingTo(5d);
	assertEquals(5d, evaluate(stringThree, name, null));
	NormDiscrete integerThree = new NormDiscrete(name, "3");
	assertEquals(equals, evaluate(integerThree, name, 3));
	assertEquals(notEquals, evaluate(integerThree, name, 1));
	NormDiscrete floatThree = new NormDiscrete(name, "3.0");
	assertEquals(equals, evaluate(floatThree, name, 3f));
	assertEquals(notEquals, evaluate(floatThree, name, 1f));
}