Commit Graph

125 Commits

Author SHA1 Message Date
Arne Keller
5e3e3b4bad Move code into own package 2020-03-08 20:26:32 +01:00
Arne Keller
4fa7bf047b Checkstyle 2020-03-08 20:22:07 +01:00
Arne Keller
9b5cfe4e2e Add script to generate snake testcase 2020-03-08 11:31:17 +01:00
Arne Keller
cbac7fb00f Add switch derailing test 2020-03-08 11:31:07 +01:00
Arne Keller
a9348c4bdc Checkstyle and additional test 2020-03-08 10:37:37 +01:00
Arne Keller
f0b35e0707 Checkstyle 2020-03-08 09:22:40 +01:00
Arne Keller
fa3c9cf113 Remove unused method 2020-03-08 00:11:47 +01:00
Arne Keller
5f5162f003 Checkstyle 2020-03-07 20:43:40 +01:00
Arne Keller
0a640cbabe Checkstyle 2020-03-07 15:28:13 +01:00
Arne Keller
4fd72ebe43 Checkstyle 2020-03-07 13:20:29 +01:00
Arne Keller
036847553d Checkstyle 2020-03-06 16:30:33 +01:00
Arne Keller
0e298492a3 Move step output in UI 2020-03-06 14:27:03 +01:00
Arne Keller
54708c2198 Script to create giant collision test 2020-03-06 13:02:41 +01:00
Arne Keller
08cb567ec8 Update IDEA configuration 2020-03-06 13:02:16 +01:00
Arne Keller
c4f2659035 Checkstyle 2020-03-06 13:01:22 +01:00
Arne Keller
0f4ad23bdb Checkstyle 2020-03-06 11:38:18 +01:00
Arne Keller
f5cb7e6f80 Checkstyle 2020-03-06 10:20:30 +01:00
Arne Keller
7c3f57caae Checkstyle 2020-03-06 09:10:51 +01:00
Arne Keller
2649cd85e2 Do not teleport across gaps of size one 2020-03-06 08:43:22 +01:00
Arne Keller
726bf0b0d6 Add testcase for teleporting across a gap 2020-03-06 08:43:04 +01:00
Arne Keller
8ec474520c SonarQube 2020-03-05 22:32:18 +01:00
Arne Keller
f5706a2edf Actually include a whitespace constant definition for show train 2020-03-05 21:57:22 +01:00
Arne Keller
72b76fbeb6 Add script for generating codetester cases from in/out files 2020-03-05 21:54:38 +01:00
Arne Keller
c0f22b2697 Checkstyle 2020-03-05 21:54:18 +01:00
Arne Keller
ea15f218cb Checkstyle 2020-03-05 21:45:12 +01:00
Arne Keller
4dd3d872a2 Clean up unused code 2020-03-05 21:15:07 +01:00
Arne Keller
672be521d7 Correctly put trains on the rail network 2020-03-05 21:13:03 +01:00
Arne Keller
9d057dfde0 Add testcase for put train around switches 2020-03-05 21:12:44 +01:00
Arne Keller
802c5deef5 Increase test coverage 2020-03-05 15:27:34 +01:00
Arne Keller
61b6739ab4 Checkstyle 2020-03-05 11:30:23 +01:00
Arne Keller
0e56a1c73b Checkstyle 2020-03-05 10:48:00 +01:00
Arne Keller
ce63ed3bed Checkstyle 2020-03-04 22:56:37 +01:00
Arne Keller
4fad0a377e Optimize large train placement 2020-03-04 22:22:05 +01:00
Arne Keller
70a070d9b1 Checkstyle 2020-03-04 20:22:59 +01:00
Arne Keller
860d31d8fb Recompute train direction when needed 2020-03-04 20:17:03 +01:00
Arne Keller
428e1862fc Checkstyle 2020-03-04 20:14:47 +01:00
Arne Keller
840c29f000 Remove test that will not be graded 2020-03-04 20:00:02 +01:00
Arne Keller
1a049e97cf Do not test ambiguous train placement, clean up code 2020-03-04 14:25:49 +01:00
Arne Keller
57708e1b4f Tests for those inconsistencies 2020-03-04 11:35:55 +01:00
Arne Keller
afb5e62d24 Correctly handle a few edge cases in put train 2020-03-04 11:35:32 +01:00
Arne Keller
1653db3c3b Add large generic test by David Schwärzle 2020-03-04 11:35:03 +01:00
Arne Keller
5fd90ef2bc Remove unused code 2020-03-03 22:59:49 +01:00
Arne Keller
12721156f5 Fix test for model 2B 2020-03-03 07:28:27 +01:00
Arne Keller
5267177f4e Implement model 2B 2020-03-02 23:29:59 +01:00
Arne Keller
c11fadbb9d Fix tests for 2B 2020-03-02 23:29:49 +01:00
Arne Keller
324231ef07 Make sure rolling stock has at least one coupling 2020-02-29 11:11:00 +01:00
Arne Keller
8f8baf6701 Implement model 1A 2020-02-29 08:26:24 +01:00
Arne Keller
68b28f3c37 Change silly edge case behaviour 2020-02-25 14:58:14 +01:00
Arne Keller
0970bfb978 Checkstyle 2020-02-25 08:52:20 +01:00
Arne Keller
e487a23251 Move Terminal printing out of model classes 2020-02-22 18:23:12 +01:00