package ru.r2cloud.jradio.blocks;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

import ru.r2cloud.jradio.ArrayFloatInput;

public class MultiplyTest {

	@Test
	public void test() throws Exception {
		Multiply multiply = new Multiply(new ArrayFloatInput(2.0f), new ArrayFloatInput(2.0f));
		assertEquals(0.0f, multiply.readFloat(), 0.0f);
		multiply.close();
	}

}

@@ -275,16 +275,22 @@
 put(2.0f
+, 0.0f
 ), new A
@@ -308,16 +308,22 @@
 put(2.0f
+, 0.0f
 ));%0A%09%09as
@@ -333,17 +333,17 @@
 tEquals(
-0
+4
 .0f, mul

fix test