diff --git a/.idea/misc.xml b/.idea/misc.xml
index 0548357..57d62b3 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 12b2ada..f11f716 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,7 +1,14 @@
-
+
+
+
+
+
+
+
+
@@ -9,14 +16,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
@@ -38,8 +103,12 @@
-
-
+
+
+
+
+
+
@@ -50,9 +119,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66,7 +147,7 @@
-
+
@@ -74,8 +155,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -94,43 +196,168 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
-
+
-
-
-
-
-
+
+
+
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Alpha.iml b/Alpha.iml
index d5c0743..c321a32 100644
--- a/Alpha.iml
+++ b/Alpha.iml
@@ -7,6 +7,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/out/production/Alpha/Main.class b/out/production/Alpha/Main.class
index bfbc22c..10c9a36 100644
Binary files a/out/production/Alpha/Main.class and b/out/production/Alpha/Main.class differ
diff --git a/src/Bmi.java b/src/Bmi.java
new file mode 100644
index 0000000..2eb8ae3
--- /dev/null
+++ b/src/Bmi.java
@@ -0,0 +1,6 @@
+public class Bmi {
+
+ public int calculate(float height, float weight) {
+ return (int) (weight / (height*height));
+ }
+}
diff --git a/src/TestBmi.java b/src/TestBmi.java
new file mode 100644
index 0000000..1b16a02
--- /dev/null
+++ b/src/TestBmi.java
@@ -0,0 +1,29 @@
+import org.junit.Before;
+import org.junit.jupiter.api.Test;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.core.IsEqual.equalTo;
+
+public class TestBmi {
+ private Bmi bmi;
+
+ @Before
+ public void setup() {
+ bmi = new Bmi();
+ }
+
+ @Test
+ public void normalBmi() {
+ //arrange
+ Bmi bmi = new Bmi();
+ float height = (float) 1.70;
+ float weight = 70;
+ int expectedResult = 24;
+
+ //act
+ int bmiResult = bmi.calculate(height, weight);
+
+ //assert
+ assertThat("", bmiResult, equalTo(expectedResult));
+ }
+}