Skip to content

Commit

Permalink
Merge branch 'emptyFieldTests' of https://github.com/Kevin-771/Legup
Browse files Browse the repository at this point in the history
…into emptyFieldTests
  • Loading branch information
Kevin-771 committed Oct 10, 2023
2 parents f9cb9cf + 1254f43 commit b8b2c8f
Show file tree
Hide file tree
Showing 105 changed files with 2,681 additions and 172 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Run JUnit Tests

on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
ubuntu-test:
runs-on: ubuntu-latest

steps:
- name: Check Out Code
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build -x test

- name: Run JUnit Tests on Linux
run: |
./gradlew test
test-macos:
runs-on: macos-latest

steps:
- name: Check Out Code
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build -x test

- name: Run JUnit Tests on macOS
run: |
./gradlew test
test-windows:
runs-on: windows-latest

steps:
- name: Check Out Code
uses: actions/checkout@v2

- name: Set up JDK and Gradle on Windows
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt'

- name: Run JUnit Tests on Windows
run: |
.\gradlew.bat test
6 changes: 3 additions & 3 deletions bin/main/edu/rpi/legup/legup/config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<puzzle name="Fillapix"
qualifiedClassName="edu.rpi.legup.puzzle.fillapix.Fillapix"
fileType=".xml"
fileCreationDisabled="true"/>
fileCreationDisabled="false"/>
<puzzle name="HeyAwake"
qualifiedClassName="edu.rpi.legup.puzzle.heyawake.Heyawake"
fileType=".xml"
Expand All @@ -27,7 +27,7 @@
<puzzle name="ShortTruthTable"
qualifiedClassName="edu.rpi.legup.puzzle.shorttruthtable.ShortTruthTable"
fileType=".xml"
fileCreationDisabled="true"/>
fileCreationDisabled="false"/>
<puzzle name="Sudoku" qualifiedClassName="edu.rpi.legup.puzzle.sudoku.Sudoku"
fileType=".xml"
fileCreationDisabled="true"/>
Expand All @@ -40,4 +40,4 @@
fileType=".xml"
fileCreationDisabled="true"/>
</puzzles>
</Legup>
</Legup>
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Legup version="2.0.0">
<puzzle name="Fillapix">
<board width="10" height="10">
<cells>
<cell value="3" x="2" y="0"/>
<cell value="3" x="3" y="0"/>
<cell value="3" x="0" y="1"/>
<cell value="0" x="6" y="1"/>
<cell value="0" x="8" y="1"/>
<cell value="3" x="2" y="2"/>
<cell value="4" x="3" y="2"/>
<cell value="3" x="5" y="2"/>
<cell value="3" x="0" y="3"/>
<cell value="4" x="2" y="3"/>
<cell value="3" x="7" y="3"/>
<cell value="2" x="0" y="4"/>
<cell value="3" x="1" y="4"/>
<cell value="5" x="3" y="4"/>
<cell value="4" x="5" y="4"/>
<cell value="4" x="6" y="4"/>
<cell value="4" x="9" y="4"/>
<cell value="5" x="2" y="5"/>
<cell value="4" x="3" y="5"/>
<cell value="6" x="4" y="5"/>
<cell value="6" x="5" y="5"/>
<cell value="4" x="7" y="5"/>
<cell value="4" x="9" y="5"/>
<cell value="3" x="5" y="6"/>
<cell value="3" x="6" y="6"/>
<cell value="4" x="9" y="6"/>
<cell value="3" x="1" y="7"/>
<cell value="5" x="4" y="7"/>
<cell value="6" x="5" y="7"/>
<cell value="5" x="6" y="7"/>
<cell value="4" x="9" y="7"/>
<cell value="7" x="3" y="8"/>
<cell value="7" x="7" y="8"/>
<cell value="5" x="9" y="8"/>
<cell value="4" x="1" y="9"/>
<cell value="6" x="4" y="9"/>
<cell value="6" x="6" y="9"/>
<cell value="5" x="8" y="9"/>
</cells>
</board>
</puzzle>
<Solved isSolved="false"/>
</Legup>
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Legup version="3.0.0">
<puzzle name="Fillapix">
<board height="15" width="15">
<cells>
<cell value="4" x="3" y="0"/>
<cell value="4" x="6" y="0"/>
<cell value="6" x="8" y="0"/>
<cell value="5" x="10" y="0"/>
<cell value="4" x="11" y="0"/>
<cell value="1" x="14" y="0"/>
<cell value="4" x="1" y="1"/>
<cell value="7" x="9" y="1"/>
<cell value="4" x="2" y="2"/>
<cell value="0" x="5" y="2"/>
<cell value="1" x="6" y="2"/>
<cell value="4" x="8" y="2"/>
<cell value="5" x="10" y="2"/>
<cell value="6" x="12" y="2"/>
<cell value="4" x="0" y="3"/>
<cell value="0" x="3" y="3"/>
<cell value="0" x="5" y="3"/>
<cell value="3" x="7" y="3"/>
<cell value="4" x="10" y="3"/>
<cell value="5" x="12" y="3"/>
<cell value="4" x="14" y="3"/>
<cell value="1" x="2" y="4"/>
<cell value="2" x="5" y="4"/>
<cell value="3" x="7" y="4"/>
<cell value="5" x="8" y="4"/>
<cell value="4" x="9" y="4"/>
<cell value="4" x="11" y="4"/>
<cell value="5" x="12" y="4"/>
<cell value="2" x="1" y="5"/>
<cell value="3" x="4" y="5"/>
<cell value="5" x="6" y="5"/>
<cell value="5" x="9" y="5"/>
<cell value="5" x="10" y="5"/>
<cell value="5" x="11" y="5"/>
<cell value="1" x="2" y="6"/>
<cell value="2" x="3" y="6"/>
<cell value="5" x="5" y="6"/>
<cell value="3" x="7" y="6"/>
<cell value="4" x="8" y="6"/>
<cell value="5" x="14" y="6"/>
<cell value="0" x="1" y="7"/>
<cell value="0" x="2" y="7"/>
<cell value="1" x="3" y="7"/>
<cell value="5" x="6" y="7"/>
<cell value="6" x="8" y="7"/>
<cell value="7" x="10" y="7"/>
<cell value="6" x="12" y="7"/>
<cell value="4" x="14" y="7"/>
<cell value="5" x="8" y="8"/>
<cell value="5" x="9" y="8"/>
<cell value="6" x="12" y="8"/>
<cell value="0" x="1" y="9"/>
<cell value="4" x="4" y="9"/>
<cell value="6" x="6" y="9"/>
<cell value="6" x="10" y="9"/>
<cell value="7" x="12" y="9"/>
<cell value="8" x="5" y="10"/>
<cell value="8" x="7" y="10"/>
<cell value="7" x="8" y="10"/>
<cell value="7" x="12" y="10"/>
<cell value="3" x="14" y="10"/>
<cell value="5" x="2" y="11"/>
<cell value="7" x="4" y="11"/>
<cell value="8" x="6" y="11"/>
<cell value="7" x="8" y="11"/>
<cell value="7" x="9" y="11"/>
<cell value="5" x="12" y="11"/>
<cell value="2" x="1" y="12"/>
<cell value="8" x="3" y="12"/>
<cell value="8" x="5" y="12"/>
<cell value="6" x="9" y="12"/>
<cell value="5" x="10" y="12"/>
<cell value="5" x="14" y="12"/>
<cell value="1" x="1" y="13"/>
<cell value="5" x="3" y="13"/>
<cell value="5" x="5" y="13"/>
<cell value="3" x="7" y="13"/>
<cell value="5" x="10" y="13"/>
<cell value="3" x="12" y="13"/>
<cell value="4" x="14" y="13"/>
<cell value="2" x="11" y="14"/>
<cell value="3" x="12" y="14"/>
</cells>
</board>
</puzzle>
</Legup>
111 changes: 111 additions & 0 deletions puzzles files/fillapix/15x15 Fillapix Basic/FillapixBasic15x15_1
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Legup version="3.0.0">
<puzzle name="Fillapix">
<board height="15" width="15">
<cells>
<cell value="0" x="0" y="0"/>
<cell value="4" x="3" y="0"/>
<cell value="3" x="4" y="0"/>
<cell value="2" x="5" y="0"/>
<cell value="1" x="6" y="0"/>
<cell value="3" x="12" y="0"/>
<cell value="5" x="2" y="1"/>
<cell value="4" x="5" y="1"/>
<cell value="4" x="8" y="1"/>
<cell value="4" x="9" y="1"/>
<cell value="3" x="14" y="1"/>
<cell value="5" x="1" y="2"/>
<cell value="4" x="2" y="2"/>
<cell value="5" x="3" y="2"/>
<cell value="4" x="4" y="2"/>
<cell value="5" x="5" y="2"/>
<cell value="5" x="6" y="2"/>
<cell value="5" x="8" y="2"/>
<cell value="3" x="9" y="2"/>
<cell value="1" x="11" y="2"/>
<cell value="2" x="12" y="2"/>
<cell value="3" x="14" y="2"/>
<cell value="4" x="0" y="3"/>
<cell value="4" x="4" y="3"/>
<cell value="4" x="7" y="3"/>
<cell value="2" x="8" y="3"/>
<cell value="1" x="10" y="3"/>
<cell value="5" x="2" y="4"/>
<cell value="4" x="3" y="4"/>
<cell value="2" x="5" y="4"/>
<cell value="2" x="6" y="4"/>
<cell value="1" x="8" y="4"/>
<cell value="0" x="9" y="4"/>
<cell value="7" x="12" y="4"/>
<cell value="5" x="13" y="4"/>
<cell value="5" x="3" y="5"/>
<cell value="0" x="6" y="5"/>
<cell value="4" x="11" y="5"/>
<cell value="5" x="12" y="5"/>
<cell value="2" x="14" y="5"/>
<cell value="4" x="0" y="6"/>
<cell value="5" x="3" y="6"/>
<cell value="4" x="4" y="6"/>
<cell value="2" x="5" y="6"/>
<cell value="0" x="6" y="6"/>
<cell value="0" x="7" y="6"/>
<cell value="5" x="11" y="6"/>
<cell value="6" x="12" y="6"/>
<cell value="5" x="0" y="7"/>
<cell value="6" x="3" y="7"/>
<cell value="5" x="4" y="7"/>
<cell value="3" x="10" y="7"/>
<cell value="3" x="11" y="7"/>
<cell value="3" x="12" y="7"/>
<cell value="3" x="14" y="7"/>
<cell value="5" x="2" y="8"/>
<cell value="5" x="4" y="8"/>
<cell value="3" x="5" y="8"/>
<cell value="3" x="12" y="8"/>
<cell value="5" x="0" y="9"/>
<cell value="6" x="3" y="9"/>
<cell value="5" x="4" y="9"/>
<cell value="3" x="6" y="9"/>
<cell value="5" x="7" y="9"/>
<cell value="6" x="9" y="9"/>
<cell value="0" x="12" y="9"/>
<cell value="0" x="14" y="9"/>
<cell value="5" x="2" y="10"/>
<cell value="4" x="4" y="10"/>
<cell value="3" x="5" y="10"/>
<cell value="2" x="6" y="10"/>
<cell value="4" x="7" y="10"/>
<cell value="5" x="8" y="10"/>
<cell value="4" x="10" y="10"/>
<cell value="1" x="13" y="10"/>
<cell value="7" x="1" y="11"/>
<cell value="5" x="4" y="11"/>
<cell value="1" x="7" y="11"/>
<cell value="5" x="9" y="11"/>
<cell value="5" x="10" y="11"/>
<cell value="5" x="11" y="11"/>
<cell value="6" x="2" y="12"/>
<cell value="4" x="3" y="12"/>
<cell value="4" x="4" y="12"/>
<cell value="4" x="5" y="12"/>
<cell value="3" x="6" y="12"/>
<cell value="1" x="7" y="12"/>
<cell value="2" x="8" y="12"/>
<cell value="4" x="9" y="12"/>
<cell value="6" x="12" y="12"/>
<cell value="4" x="13" y="12"/>
<cell value="5" x="1" y="13"/>
<cell value="6" x="3" y="13"/>
<cell value="4" x="9" y="13"/>
<cell value="6" x="10" y="13"/>
<cell value="3" x="6" y="14"/>
<cell value="2" x="7" y="14"/>
<cell value="0" x="8" y="14"/>
<cell value="4" x="10" y="14"/>
<cell value="4" x="11" y="14"/>
<cell value="3" x="12" y="14"/>
<cell value="2" x="14" y="14"/>
</cells>
</board>
</puzzle>
</Legup>
Loading

0 comments on commit b8b2c8f

Please sign in to comment.