Browse Source

Make sure the code compiles after svn2git conversion.

master
djib 2 years ago
parent
commit
c408f2c427
  1. 11
      .classpath
  2. 1
      .gitignore
  3. 17
      .project
  4. 0
      resources/config
  5. 0
      resources/openbook
  6. 0
      resources/problems
  7. 2
      src/tests/TestMoves.java

11
.classpath

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="output" path="bin"/>
</classpath>

1
.gitignore

@ -0,0 +1 @@
/bin/

17
.project

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Sushi</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

0
config → resources/config

0
openbook → resources/openbook

0
problems → resources/problems

2
src/tests/TestMoves.java

@ -122,12 +122,14 @@ class MoveTest extends Move {
super(move, board);
}
/*
public MoveTest(String move, Piece pieceToMove) throws NotAValidMoveException, NotAValidSquare {
super(move, pieceToMove);
}
public MoveTest(String move, Piece pieceToMove, Piece pieceToCapture) throws NotAValidMoveException, NotAValidSquare {
super(move, pieceToMove, pieceToCapture);
}
*/
public void display() {
System.out.println(" ");

Loading…
Cancel
Save