From e15f2308635949e8e87c5014257c30e25dd950fb Mon Sep 17 00:00:00 2001 From: Thanhha2571 <96061135+Thanhha2571@users.noreply.github.com> Date: Thu, 2 Jun 2022 14:39:34 +0700 Subject: [PATCH] Update MultiplicationWithoutMultiplyTest.java add new test case in line 50 --- .../problem20/MultiplicationWithoutMultiplyTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/com/github/pedrovgs/problem20/MultiplicationWithoutMultiplyTest.java b/src/test/java/com/github/pedrovgs/problem20/MultiplicationWithoutMultiplyTest.java index b022e231..b92559b5 100644 --- a/src/test/java/com/github/pedrovgs/problem20/MultiplicationWithoutMultiplyTest.java +++ b/src/test/java/com/github/pedrovgs/problem20/MultiplicationWithoutMultiplyTest.java @@ -46,4 +46,9 @@ public class MultiplicationWithoutMultiplyTest { @Test public void shouldTakeIntoAccountNegativeNumbers() { assertEquals(-14, multiply.calculate(-2, 7)); } + + @Test public void shouldTakeIntoAccountNegativeNumbers() { + assertEquals(6, multiply.calculate(1, 6)); + } + }