Commit 1cd95ec2 authored by Vivek Y Patel's avatar Vivek Y Patel
Browse files

intial

parents
import java.util.*;
public class HelloWorld
{
String message;
public HelloWorld()
{
message = "Hello World!";
}
public String getM()
{
return message;
}
}
\ No newline at end of file
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class HelloWorldTest {
/** A test that always fails. **/
@Test public void helloTest() {
HelloWorld hw = new HelloWorld();
String output = hw.getM();
Assert.assertEquals("Hello World!", output);
}
}
Markdown is supported
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