Commit 4e6aa580 authored by Younis's avatar Younis
Browse files

Add new file

parent 85d70b77
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MultiplierTest {
@Test
public void testMultiply() {
// Test case 1
assertEquals(6, Multiplier.multiply(2, 3));
// Test case 2
assertEquals(20, Multiplier.multiply(4, 5));
// Test case 3
assertEquals(0, Multiplier.multiply(0, 10));
// Test case 4
assertEquals(0, Multiplier.multiply(7, 0));
// Test case 5
assertEquals(15, Multiplier.multiply(1, 15));
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment