Commit Graph

4735 Commits

Author SHA1 Message Date
Wolfgang Witt
4f4cd394db chore: add missing+remove redundant imports 2021-03-15 10:45:37 +00:00
Wolfgang Witt
b974942f07 chore: matriculation numbers limited same length again
- this time as suffixes
- also start range description with full used length
  otherwise suffix-description is confusing
2021-03-15 10:45:37 +00:00
Wolfgang Witt
f0a79dff65 chore: rewrite ExamRoomRandom mapping, so it actually respects room sizes 2021-03-15 10:45:37 +00:00
Wolfgang Witt
4e76fe7e50 fix: increase size of test instances again (oops) 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a559ac74cb chore: include non-ascii names in range-calculation 2021-03-15 10:45:37 +00:00
Wolfgang Witt
8e4cb0917d fix: make sure unfortunate combination doesn't only produce 0-9 ranges for matrikelnummer 2021-03-15 10:45:37 +00:00
Wolfgang Witt
525e24b56d chore(test): check for non-overlapping rangeDescription 2021-03-15 10:45:37 +00:00
Wolfgang Witt
fc35fd26c1 fix: mappingDescription doesn't overlap for the first n rooms/with small names/matrikelnummer 2021-03-15 10:45:37 +00:00
Wolfgang Witt
6ccc192426 chore: remove -Wwarn 2021-03-15 10:45:37 +00:00
Wolfgang Witt
795598ea06 chore(test): re-enable justifiedNullResult-test 2021-03-15 10:45:37 +00:00
Wolfgang Witt
5480e2d7b7 chore: names with non-ascii prefix get a ExamOccurrenceMappingSpecial 2021-03-15 10:45:37 +00:00
Wolfgang Witt
d60f93561f fix: make sure it compiles again + add 2-letter name 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a66c61cecc chore(test): add surnames with unicode characters 2021-03-15 10:45:37 +00:00
Wolfgang Witt
873d5a02ad fix: ensure termination for non-{'A'..'Z']-names 2021-03-15 10:45:37 +00:00
Wolfgang Witt
dbd7726bbb chore(test): add test for ExamRoomRandom 2021-03-15 10:45:37 +00:00
Wolfgang Witt
b6df520fab chore(test): disable justifiedNullResult-tests 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a692899ae6 chore(test): make UserProperties a newtype 2021-03-15 10:45:37 +00:00
Wolfgang Witt
344bd420cd chore: don't use suffix of a prefix for mapping description 2021-03-15 10:45:37 +00:00
Wolfgang Witt
8f2b31acef chore: add padding to mappingRange if names are too short 2021-03-15 10:45:37 +00:00
Wolfgang Witt
5a3b2881c4 chore: rewrite resultAscList 2021-03-15 10:45:37 +00:00
Wolfgang Witt
f0f6706bcf chore: remove redundant MultiWayIf 2021-03-15 10:45:37 +00:00
Wolfgang Witt
385af53372 chore(test): use annotate to easier see which test failed 2021-03-15 10:45:37 +00:00
Wolfgang Witt
479f4326b2 chore: filter out all empty/prefilled rooms
They might produce unnecessary null-results
2021-03-15 10:45:37 +00:00
Wolfgang Witt
48ee67f6d6 chore(test): allow valid nullResults
ExamRoomMatriculation sometimes shows incorrect ranges
2021-03-15 10:45:37 +00:00
Wolfgang Witt
9d8a94717a chore(test): respect users without matriculation number 2021-03-15 10:45:37 +00:00
Wolfgang Witt
317b95be31 fix: check if number of relevant user is >0 to prevent crash 2021-03-15 10:45:37 +00:00
Wolfgang Witt
4dccd2830b chore(test): prepare for ExamRoomMatriculation-Tests 2021-03-15 10:45:37 +00:00
Wolfgang Witt
44a52e034f chore: filter out pre-filled rooms 2021-03-15 10:45:37 +00:00
Wolfgang Witt
eadbbce661 chore(test): increase test size + prepare for matriculation tests 2021-03-15 10:45:37 +00:00
Wolfgang Witt
abb2342ab5 chore(test): abuse Show+Enum+Bounded for more concise test specification 2021-03-15 10:45:37 +00:00
Wolfgang Witt
4fc05351fa fix: user with a pre-assigned room count towards the capacity limit 2021-03-15 10:45:37 +00:00
Wolfgang Witt
46e6ca9217 chore(test): add tests with nudges 2021-03-15 10:45:37 +00:00
Wolfgang Witt
27f30dcd17 chore(test): rearrange to allow easier parameter adjustments 2021-03-15 10:45:37 +00:00
Wolfgang Witt
4d9ef2a64d chore(test): property test with preselected users 2021-03-15 10:45:37 +00:00
Wolfgang Witt
5de8f0ae23 chore(test): move generators to their own functions 2021-03-15 10:45:37 +00:00
Wolfgang Witt
c0fd3bc1e4 chore(test): finalize property description 2021-03-15 10:45:37 +00:00
Wolfgang Witt
aba5c53a0b chore(test): refine ExamOccurence-creation 2021-03-15 10:45:37 +00:00
Wolfgang Witt
52678cddf4 chore(test): provide very "arbitrary" instance for ExamOccurrence 2021-03-15 10:45:37 +00:00
Wolfgang Witt
a9f432d6b0 chore(test): finally manged to create a users map 2021-03-15 10:45:37 +00:00
Wolfgang Witt
f68ae3b356 chore(test): first try at property test (incomplete) 2021-03-15 10:45:37 +00:00
Wolfgang Witt
e487ceff58 fix: make sure line-break algorithm respects available lines 2021-03-15 10:45:37 +00:00
Wolfgang Witt
eaf245beaa fix: examAutoOccurence no longer user >100% of a room 2021-03-15 10:45:37 +00:00
Wolfgang Witt
9f83cc2e5b chore(test): create file ExamSpec.hs with basic information for the error case 2021-03-15 10:45:37 +00:00
Wolfgang Witt
7b0fd61f7f fix: spelling plugin had a suggestion; actually Hello World commit :p 2021-03-15 10:45:37 +00:00
Gregor Kleen
7ac7d82d8e chore(release): 25.0.5 2021-03-13 17:55:07 +01:00
Gregor Kleen
65814c005e fix(authorisation): inverted logic for empty 2021-03-13 17:53:44 +01:00
Gregor Kleen
885284b37f chore(release): 25.0.4 2021-03-12 20:38:49 +01:00
Gregor Kleen
4803026a2c fix: tests 2021-03-12 20:38:17 +01:00
Gregor Kleen
4483588615 chore(release): 25.0.3 2021-03-12 18:42:01 +01:00
Gregor Kleen
e88b6d6bab fix: invalidate nav caches 2021-03-12 18:39:00 +01:00