	@Test
	public void zeroNumberOfUnitsShouldYieldZeroAverage() {

		MovingAverageUDF udf = new MovingAverageUDF();
		Text key = new Text("key");
		assertEquals(0.0f, udf.evaluate(0, key, 1.0f), 0.0001f);
		assertEquals(0.0f, udf.evaluate(0, key, 2.0f), 0.0001f);
		assertEquals(0.0f, udf.evaluate(0, key, 3.0f), 0.0001f);
		assertEquals(0.0f, udf.evaluate(0, key, 4.0f), 0.0001f);
	}