TestLargest.java Source code

Java tutorial

Introduction

Here is the source code for TestLargest.java

Source

import junit.framework.TestCase;

public class TestLargest extends TestCase {
    public TestLargest(String name) {
        super(name);
    }

    public void testAdds() {
        assertEquals(2, 1 + 1);
        assertEquals(4, 2 + 2);
        assertEquals(-8, -12 + 4);
    }
}