diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..f25d6da --- /dev/null +++ b/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..9d5b309 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + Spreadsheet + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..3a21537 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/bin/Spreadsheet.class b/bin/Spreadsheet.class new file mode 100644 index 0000000..92b411f Binary files /dev/null and b/bin/Spreadsheet.class differ diff --git a/bin/SpreadsheetTest.class b/bin/SpreadsheetTest.class new file mode 100644 index 0000000..e7086bd Binary files /dev/null and b/bin/SpreadsheetTest.class differ diff --git a/lib/easymock-3.2.jar b/lib/easymock-3.2.jar new file mode 100644 index 0000000..7c439f8 Binary files /dev/null and b/lib/easymock-3.2.jar differ diff --git a/src/Spreadsheet.java b/src/Spreadsheet.java new file mode 100644 index 0000000..e4f120b --- /dev/null +++ b/src/Spreadsheet.java @@ -0,0 +1,18 @@ + +public class Spreadsheet { + + public String get(String cell) { + // to be implemented + return null; + } + + public void set(String cell, String value) { + // to be implemented + } + + public String evaluate(String cell) { + // to be implemented + return null; + } + +} diff --git a/tests/SpreadsheetTest.java b/tests/SpreadsheetTest.java new file mode 100644 index 0000000..9e0936a --- /dev/null +++ b/tests/SpreadsheetTest.java @@ -0,0 +1,15 @@ +import static org.junit.Assert.*; + + +import org.junit.Test; + + +public class SpreadsheetTest { + + @Test + public void test() { + fail("Not yet implemented"); + + } + +}