Commit b9e9db37 authored by Anya Helene Bagge's avatar Anya Helene Bagge 🦆

copy/update from 2017

parent 1d92af59
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/inf101.v18.lab2.iml" filepath="$PROJECT_DIR$/inf101.v18.lab2.iml" />
</modules>
</component>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>inf101.v17.lab2</name>
<name>inf101.v18.lab2</name>
<comment></comment>
<projects>
</projects>
......
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/bin" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="junit5">
<CLASSES>
<root url="jar://$APPLICATION_HOME_DIR$/lib/junit.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JUnit5.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.0.0/junit-jupiter-api-5.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.0.0/junit-platform-commons-1.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>
\ No newline at end of file
package inf101.v17.cell;
package inf101.v18.cell;
import java.util.Random;
......
package inf101.v17.cell;
package inf101.v18.cell;
import java.awt.Color;
import java.util.Random;
import inf101.v17.datastructures.IGrid;
import inf101.v17.datastructures.MyGrid;
import inf101.v18.datastructures.IGrid;
import inf101.v18.datastructures.MyGrid;
/**
*
......
package inf101.v17.cell;
package inf101.v18.cell;
import java.awt.Color;
......
package inf101.v17.cell;
package inf101.v18.cell;
import inf101.v17.cell.gui.CellAutomataGUI;
import inf101.v18.cell.gui.CellAutomataGUI;
public class Main {
......
package inf101.v17.cell;
package inf101.v18.cell;
import java.awt.Color;
import java.util.Random;
import inf101.v17.datastructures.IGrid;
import inf101.v17.datastructures.MyGrid;
import inf101.v18.datastructures.IGrid;
import inf101.v18.datastructures.MyGrid;
/**
*
......
package inf101.v17.cell.gui;
package inf101.v18.cell.gui;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import inf101.v17.cell.ICellAutomaton;
import inf101.v18.cell.ICellAutomaton;
/**
*
......
package inf101.v17.cell.gui;
package inf101.v18.cell.gui;
import java.awt.BorderLayout;
import java.awt.Component;
......@@ -9,7 +9,7 @@ import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import inf101.v17.cell.ICellAutomaton;
import inf101.v18.cell.ICellAutomaton;
/**
*
......
package inf101.v17.datastructures;
package inf101.v18.datastructures;
import static org.junit.Assert.*;
......@@ -6,7 +6,7 @@ import java.util.Random;
import org.junit.Test;
import inf101.v17.cell.CellState;
import inf101.v18.cell.CellState;
public class GridTest {
Random random = new Random();
......
package inf101.v17.datastructures;
package inf101.v18.datastructures;
import inf101.v17.cell.CellState;
import inf101.v18.cell.CellState;
public interface IGrid {
......
package inf101.v17.datastructures;
package inf101.v18.datastructures;
import inf101.v17.cell.CellState;
import inf101.v18.cell.CellState;
public interface IList {
/**
......
package inf101.v17.datastructures;
package inf101.v18.datastructures;
import inf101.v17.cell.CellState;
import inf101.v18.cell.CellState;
/**
*
......
package inf101.v17.datastructures;
package inf101.v18.datastructures;
import java.util.Arrays;
import inf101.v17.cell.CellState;
import inf101.v18.cell.CellState;
public class MyList implements IList {
private int length;
......
package inf101.v17.datastructures;
package inf101.v18.datastructures;
import static org.junit.Assert.*;
......@@ -6,9 +6,9 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.Random;
import inf101.v18.cell.CellState;
import inf101.v17.cell.CellState;
import java.util.Random;
public class MyListTest {
......
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