Commit Graph

116 Commits

Author SHA1 Message Date
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
Arne Keller
40cc52d2a3 Checkstyle 2020-02-22 18:02:53 +01:00
Arne Keller
c82ab689d4 Write comments 2020-02-21 08:30:30 +01:00
Arne Keller
122193300d Refactor train movement into train manager class 2020-02-21 08:19:57 +01:00
Arne Keller
4da5eeebd3 Checkstyle 2020-02-20 14:11:26 +01:00
Arne Keller
29a1953dab Checkstyle and SonarQube 2020-02-20 11:51:57 +01:00
Arne Keller
2f8f79a7a1 SonarQube 2020-02-20 09:31:20 +01:00
Arne Keller
72bea80f9b SonarQube 2020-02-20 09:04:18 +01:00
Arne Keller
938ace5a5b SonarQube 2020-02-20 08:36:35 +01:00
Arne Keller
e54bf43cbd Increase test coverage 2020-02-20 08:28:58 +01:00