2025 init

This commit is contained in:
Romain Lefeuvre
2025-11-18 14:44:07 +01:00
commit ac81d61d01
21 changed files with 986 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.istic.vv</groupId>
<artifactId>roman-numerals</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>net.jqwik</groupId>
<artifactId>jqwik</artifactId>
<version>1.3.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,11 @@
package fr.istic.vv;
public class RomanNumeraUtils {
public static boolean isValidRomanNumeral(String value) { return false; }
public static int parseRomanNumeral(String numeral) { return 0; }
public static String toRomanNumeral(int number) { return ""; }
}

View File

@@ -0,0 +1,10 @@
package fr.istic.vv;
import net.jqwik.api.*;
import net.jqwik.api.constraints.IntRange;
public class RomanNumeralTest {
@Property
boolean absoluteValueOfAllNumbersIsPositive(@ForAll @IntRange(min=Integer.MIN_VALUE +1) int anInteger) {
return Math.abs(anInteger) >= 0;
}
}