// Path: testing/unit-testing/junit4/src/main/java/com/sample/one/SampleOne.java
// static class InnerSample {
//     private int i;
// 
//     public InnerSample(int i) {
//         this.i = i;
//     }
// 
//     public int getSquare() {
//         if (this.i < 0) {
//             return -1;
//         } else {
//             return i * i;
//         }
//     }
// }


import com.sample.one.SampleOne.InnerSample;
import org.junit.Test;
package com.sample.one;


/**
 * Test cases for the utility methods
 */
public class SampleOneTest {

    @Test
    public void testOne() {
        SampleOne one = new SampleOne();
        one.getSum(1, 0);
    }

    @Test
    public void testTwo() {
        SampleOne one = new SampleOne();
        one.getSum(0, 1);
    }

    @Test
    public void testThree() {
        SampleOne one = new SampleOne();
        one.getSum(0, 0);
    }

    @Test
    public void testFour() {
        SampleOne one = new SampleOne();
        one.getSum(1, 1);
    }

    @Test
    public void testFive() {
// Path: testing/unit-testing/junit4/src/main/java/com/sample/one/SampleOne.java
// static class InnerSample {
//     private int i;
// 
//     public InnerSample(int i) {
//         this.i = i;
//     }
// 
//     public int getSquare() {
//         if (this.i < 0) {
//             return -1;
//         } else {
//             return i * i;
//         }
//     }
// }


// Path: testing/unit-testing/junit4/src/test/java/com/sample/one/SampleOneTest.java
import com.sample.one.SampleOne.InnerSample;
import org.junit.Test;

package com.sample.one;


/**
 * Test cases for the utility methods
 */
public class SampleOneTest {

    @Test
    public void testOne() {
        SampleOne one = new SampleOne();
        one.getSum(1, 0);
    }

    @Test
    public void testTwo() {
        SampleOne one = new SampleOne();
        one.getSum(0, 1);
    }

    @Test
    public void testThree() {
        SampleOne one = new SampleOne();
        one.getSum(0, 0);
    }

    @Test
    public void testFour() {
        SampleOne one = new SampleOne();
        one.getSum(1, 1);
    }

    @Test
    public void testFive() {
        InnerSample inner = new InnerSample(1);