Skip to content
Snippets Groups Projects
Commit 652be452 authored by SAHIN Melis damla's avatar SAHIN Melis damla
Browse files

TP

parent ffefdb01
No related branches found
No related tags found
No related merge requests found
Pipeline #45498 passed
Showing
with 320 additions and 0 deletions
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>Test results - Package model</title>
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<script src="../js/report.js" type="text/javascript"></script>
</head>
<body>
<div id="content">
<h1>Package model</h1>
<div class="breadcrumbs">
<a href="../index.html">all</a> &gt; model</div>
<div id="summary">
<table>
<tr>
<td>
<div class="summaryGroup">
<table>
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">22</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
<td>
<div class="infoBox" id="ignored">
<div class="counter">0</div>
<p>ignored</p>
</div>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0.011s</div>
<p>duration</p>
</div>
</td>
</tr>
</table>
</div>
</td>
<td>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
</tr>
</table>
</div>
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Classes</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Classes</h2>
<table>
<thead>
<tr>
<th>Class</th>
<th>Tests</th>
<th>Failures</th>
<th>Ignored</th>
<th>Duration</th>
<th>Success rate</th>
</tr>
</thead>
<tr>
<td class="success">
<a href="../classes/model.CellTest.html">CellTest</a>
</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>0.001s</td>
<td class="success">100%</td>
</tr>
<tr>
<td class="success">
<a href="../classes/model.CellularAutomatonSimulationTest.html">CellularAutomatonSimulationTest</a>
</td>
<td>11</td>
<td>0</td>
<td>0</td>
<td>0.009s</td>
<td class="success">100%</td>
</tr>
<tr>
<td class="success">
<a href="../classes/model.NextGenerationInitializerTest.html">NextGenerationInitializerTest</a>
</td>
<td>5</td>
<td>0</td>
<td>0</td>
<td>0.001s</td>
<td class="success">100%</td>
</tr>
<tr>
<td class="success">
<a href="../classes/model.StateTest.html">StateTest</a>
</td>
<td>4</td>
<td>0</td>
<td>0</td>
<td>0s</td>
<td class="success">100%</td>
</tr>
</table>
</div>
</div>
<div id="footer">
<p>
<div>
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 8.8</a> at Jan 26, 2025, 1:42:20 AM</p>
</div>
</div>
</body>
</html>
.root {
-fx-focus-color: transparent;
-fx-font-size: 13px;
}
.background {
-fx-background-color: #1d1d1d;
}
.separator .line {
-fx-border-color: #fff;
}
.button {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-text-fill: #fff;
}
.button:hover,
.button:selected {
-fx-background-color: #fff;
-fx-background-insets: 0 0 -1px 0, 0, 1px, 2px;
-fx-background-radius: 5px, 5px, 4px, 3px;
-fx-text-fill: derive(#1d1d1d, 20%);
}
.label {
-fx-text-fill: #fff;
}
.cell-pane {
-fx-background-color: derive(#1d1d1d, 20%);
}
.alive {
-fx-background-color: #fff;
}
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import view.MatrixPane?>
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
styleClass="background" stylesheets="@style.css"
xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="controller.Controller">
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
</padding>
<children>
<HBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="24.0"
prefWidth="980.0" spacing="10.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0">
<children>
<Separator maxHeight="-Infinity" maxWidth="-Infinity" orientation="VERTICAL"
prefHeight="24.0" prefWidth="6.0"/>
<ToggleButton fx:id="playToggleButton" maxHeight="-Infinity" maxWidth="-Infinity"
mnemonicParsing="false" onAction="#playToggleButtonAction" prefHeight="24.0"
prefWidth="62.0" styleClass="button" text="Play"/>
<ToggleButton fx:id="pauseToggleButton" maxHeight="-Infinity" maxWidth="-Infinity"
mnemonicParsing="false" onAction="#pauseToggleButtonAction" prefHeight="24.0"
prefWidth="71.0" styleClass="button" text="Pause"/>
<Button fx:id="resetButton" maxHeight="-Infinity" maxWidth="-Infinity"
mnemonicParsing="false" onAction="#resetButtonAction" prefHeight="24.0" prefWidth="70.0"
text="Reset"/>
<Button fx:id="clearButton" maxHeight="-Infinity" maxWidth="-Infinity"
mnemonicParsing="false" onAction="#clearButtonAction" prefHeight="24.0" prefWidth="70.0"
text="Clear"/>
<Separator maxHeight="-Infinity" maxWidth="-Infinity" orientation="VERTICAL"
prefHeight="24.0" prefWidth="6.0"/>
<Separator maxHeight="-Infinity" maxWidth="-Infinity" orientation="VERTICAL"
prefHeight="24.0" prefWidth="6.0"/>
<Label maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="24.0" prefWidth="103.0"
text="Generation"/>
<Label fx:id="generationNumberLabel" alignment="CENTER_RIGHT" contentDisplay="TEXT_ONLY"
maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="24.0" prefWidth="99.0"/>
<Separator maxHeight="-Infinity" maxWidth="-Infinity" orientation="VERTICAL"
prefHeight="24.0" prefWidth="6.0"/>
</children>
</HBox>
<MatrixPane fx:id="matrixPane" alignment="CENTER" hgap="1.0"
maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="600.0" prefWidth="980.0" vgap="1.0"
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="35.0"/>
</children>
</AnchorPane>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="matrix.ConstantMatrixInitializerTest" tests="2" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.006">
<properties/>
<testcase name="testMatrixInitializationWithConstantValue()" classname="matrix.ConstantMatrixInitializerTest" time="0.005"/>
<testcase name="testMatrixInitializationWithConstantValue2()" classname="matrix.ConstantMatrixInitializerTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="matrix.CoordinateIteratorTest" tests="3" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.007">
<properties/>
<testcase name="testIteratorWithZeroDimensions()" classname="matrix.CoordinateIteratorTest" time="0.0"/>
<testcase name="testIteratorWithTwoDimensions()" classname="matrix.CoordinateIteratorTest" time="0.005"/>
<testcase name="testIteratorWithOneDimension()" classname="matrix.CoordinateIteratorTest" time="0.001"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="matrix.CoordinateTest" tests="8" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.004">
<properties/>
<testcase name="testAbove()" classname="matrix.CoordinateTest" time="0.0"/>
<testcase name="testBelow()" classname="matrix.CoordinateTest" time="0.001"/>
<testcase name="testRight()" classname="matrix.CoordinateTest" time="0.0"/>
<testcase name="testLeft()" classname="matrix.CoordinateTest" time="0.001"/>
<testcase name="testDiagonalNeighbours()" classname="matrix.CoordinateTest" time="0.001"/>
<testcase name="testCoordinateCreation()" classname="matrix.CoordinateTest" time="0.0"/>
<testcase name="testOrthogonalNeighbours()" classname="matrix.CoordinateTest" time="0.001"/>
<testcase name="testOrthodiagonalNeighbours()" classname="matrix.CoordinateTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="matrix.ListMatrixTest" tests="7" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.004">
<properties/>
<testcase name="testMatrixWidthAndHeight()" classname="matrix.ListMatrixTest" time="0.0"/>
<testcase name="testMatrixCoordinates()" classname="matrix.ListMatrixTest" time="0.0"/>
<testcase name="testMatrixCreationWithInitialValue()" classname="matrix.ListMatrixTest" time="0.001"/>
<testcase name="testSubMatrix()" classname="matrix.ListMatrixTest" time="0.0"/>
<testcase name="testMatrixIterator()" classname="matrix.ListMatrixTest" time="0.0"/>
<testcase name="testMatrixCreationWithInitializer()" classname="matrix.ListMatrixTest" time="0.0"/>
<testcase name="testMatrixSetAndGet()" classname="matrix.ListMatrixTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="model.CellTest" tests="2" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.001">
<properties/>
<testcase name="testCellValueChangeWithListener()" classname="model.CellTest" time="0.0"/>
<testcase name="testCellWithoutListener()" classname="model.CellTest" time="0.001"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="model.CellularAutomatonSimulationTest" tests="11" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.012">
<properties/>
<testcase name="testNumberOfColumns()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<testcase name="testSetGenerationNumberChangeListener()" classname="model.CellularAutomatonSimulationTest" time="0.001"/>
<testcase name="testClear()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<testcase name="testColor()" classname="model.CellularAutomatonSimulationTest" time="0.005"/>
<testcase name="testReset()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<testcase name="testCopy()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<testcase name="testNext()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<testcase name="testAt()" classname="model.CellularAutomatonSimulationTest" time="0.001"/>
<testcase name="testUpdateToNextGeneration()" classname="model.CellularAutomatonSimulationTest" time="0.002"/>
<testcase name="testSetChangeListener()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<testcase name="testNumberOfRows()" classname="model.CellularAutomatonSimulationTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="model.NextGenerationInitializerTest" tests="5" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.003">
<properties/>
<testcase name="testWrapCoordinateInsideGrid()" classname="model.NextGenerationInitializerTest" time="0.001"/>
<testcase name="testModuloPositive()" classname="model.NextGenerationInitializerTest" time="0.0"/>
<testcase name="testModuloNegative()" classname="model.NextGenerationInitializerTest" time="0.0"/>
<testcase name="testWrapCoordinateOutsideGrid()" classname="model.NextGenerationInitializerTest" time="0.0"/>
<testcase name="initialValueAt()" classname="model.NextGenerationInitializerTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="model.StateTest" tests="4" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.001">
<properties/>
<testcase name="testCountMethodWithNoMatchingElements()" classname="model.StateTest" time="0.0"/>
<testcase name="testCountMethodWithInteger()" classname="model.StateTest" time="0.0"/>
<testcase name="testCountMethodWithEmptyList()" classname="model.StateTest" time="0.0"/>
<testcase name="testCountMethodWithString()" classname="model.StateTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="model.automata.GameOfLifeStateTest" tests="4" skipped="0" failures="0" errors="0" timestamp="2025-01-26T00:42:20" hostname="MacBook-Pro-de-Melis.local" time="0.001">
<properties/>
<testcase name="testGetColor()" classname="model.automata.GameOfLifeStateTest" time="0.0"/>
<testcase name="testNext()" classname="model.automata.GameOfLifeStateTest" time="0.0"/>
<testcase name="testDeadUpdate()" classname="model.automata.GameOfLifeStateTest" time="0.001"/>
<testcase name="testAliveUpdate()" classname="model.automata.GameOfLifeStateTest" time="0.0"/>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment