-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.vscode/ | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
<module name="Checker"> | ||
<module name="TreeWalker"> | ||
<module name="BooleanExpressionComplexity"/> | ||
<module name="CyclomaticComplexity"/> | ||
<module name="MethodLength"/> | ||
<module name="EmptyCatchBlock"/> | ||
<module name="AvoidStarImport"/> | ||
<module name="IllegalImport"/> | ||
<module name="NeedBraces"/> | ||
</module> | ||
<module name="FileLength"> | ||
<property name="fileExtensions" value="java"/> | ||
</module> | ||
<module name="LineLength"> | ||
<property name="max" value="120"/> | ||
<property name="fileExtensions" value="java"/> | ||
</module> | ||
<module name="FileTabCharacter"/> | ||
<module name="Header"> | ||
<property name="headerFile" value="config/headerPattern.header"/> | ||
<property name="fileExtensions" value="java"/> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
//////////////////////////////////////////////////////////////////// | ||
// Filippo Bellon 2076432 | ||
// Nicolò Bolzon 2075521 | ||
//////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>it.unipd.mtss</groupId> | ||
<artifactId>roman-number</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.0-SNAPSHOT</version> | ||
<name>roman-number</name> | ||
<url>http://maven.apache.org</url> | ||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.12</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>3.3.1</version> | ||
<configuration> | ||
<failsOnError>true</failsOnError> | ||
<configLocation>checkstyle.xml</configLocation> | ||
<consoleOutput>true</consoleOutput> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>checkstyle</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<version>0.8.12</version> | ||
<executions> | ||
<execution> | ||
<id>prepare-agent</id> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eluder.coveralls</groupId> | ||
<artifactId>coveralls-maven-plugin</artifactId> | ||
<version>4.3.0</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//////////////////////////////////////////////////////////////////// | ||
// Filippo Bellon 2076432 | ||
// Nicolò Bolzon 2075521 | ||
//////////////////////////////////////////////////////////////////// | ||
|
||
package it.unipd.mtss; | ||
|
||
public class IntegerToRoman { | ||
|
||
public static String convert(int number) { | ||
// TODO | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//////////////////////////////////////////////////////////////////// | ||
// Filippo Bellon 2076432 | ||
// Nicolò Bolzon 2075521 | ||
//////////////////////////////////////////////////////////////////// | ||
|
||
package it.unipd.mtss; | ||
|
||
public class RomanPrinter { | ||
public static String print(int num) { | ||
return printAsciiArt(IntegerToRoman.convert(num)); | ||
} | ||
private static String printAsciiArt(String romanNumber) { | ||
//TODO | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//////////////////////////////////////////////////////////////////// | ||
// Filippo Bellon 2076432 | ||
// Nicolò Bolzon 2075521 | ||
//////////////////////////////////////////////////////////////////// | ||
|
||
package it.unipd.mtss; | ||
|
||
import org.junit.Test; | ||
|
||
public class IntegerToRomanTest { | ||
|
||
@Test | ||
public void testConvert() { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//////////////////////////////////////////////////////////////////// | ||
// Filippo Bellon 2076432 | ||
// Nicolò Bolzon 2075521 | ||
//////////////////////////////////////////////////////////////////// | ||
|
||
package it.unipd.mtss; | ||
|
||
import org.junit.Test; | ||
|
||
public class RomanPrinterTest { | ||
|
||
@Test | ||
public void testPrint() { | ||
|
||
} | ||
} |