Commit Graph

82 Commits

Author SHA1 Message Date
42e57daa54 test: started writing GameLogic test, and added providers for several types 2021-05-28 17:25:49 +02:00
a25231fb3e fix: fixed bugs in RequestDeserializer, and wrote Proptests for it 2021-05-28 16:20:40 +02:00
b871b4d3a4 refactor: split MessageStructure into multiple messages, as a starting point for proper implementation of the login standard 2021-05-28 14:51:17 +02:00
a92f437412 feat: completed RequestDeserializer 2021-05-28 14:50:38 +02:00
b2b963579e test: wrote proptest for IntVector to practise proptesting 2021-05-28 14:47:15 +02:00
C H
940d8a8d97 EventBuilder Tests 2021-05-28 13:18:20 +02:00
a4c510279a test: fixed EventDeserializerTest and implemented the GameEvent test part of it 2021-05-21 14:16:19 +02:00
bd442bedfc feat: add RequestBuilder and test base 2021-05-18 19:03:34 +02:00
588633fe46 fix: add more necessary getters to GameStateView 2021-05-18 18:44:01 +02:00
37e84b6e15 feat: created BasicAnswer, and cleaned up some code 2021-05-18 14:19:09 +02:00
0bb4ba21df fix: code cleanup 2021-05-18 13:56:41 +02:00
4b69cca440 test: un-disabled JSONTest 2021-05-17 20:12:29 +02:00
1bd4e8a9c5 feat: partially created a test for EventDeserialzer, still needs some work 2021-05-17 20:10:42 +02:00
c5fe7ec7db fix: fixed GamestateEvent deserialization test 2021-05-17 18:48:58 +02:00
156677f290 test: wrote partial EventDeserializer test 2021-05-13 16:11:13 +02:00
3929bde062 test: removed prints from tests 2021-05-13 16:11:02 +02:00
2bfa17bef7 test: disabled two non-relevant tests 2021-05-13 16:10:51 +02:00
868df160bb feat: implemented EntityDeserializer and EntityDeserializerTest 2021-05-11 23:11:17 +02:00
f7b1514491 feat: wrote EntityDeserializer 2021-05-11 21:17:55 +02:00
f4123481bc feat: implemented deserializer for IntVector2 and created a test for it 2021-05-11 20:26:57 +02:00
6947105077 feat: created proper JSON deserializer and created test for JSON, which is still used for TDD 2021-05-11 06:14:18 +02:00
6e9efa1a59 refactor: changed GameStateEvent to GamestateEvent 2021-05-11 05:06:00 +02:00
7129f0f3ab fix: removed Req from EventTypes as it's now a request, not an event 2021-05-11 04:25:35 +02:00
4203092f9a fix: fixed building gamestate events (and the tests relating to that) 2021-05-11 03:20:19 +02:00
80c77b7956 refactor: move event checks from builder to their respective classes 2021-05-03 19:25:36 +02:00
d06ac91ef8 refactor: clean up code and improve event builder 2021-05-02 14:28:51 +02:00
3e36947d3e feat: partially finished test for EventBuilder 2021-05-02 04:14:28 +02:00
608cd829c4 temp: half finished but ineffective EventBuilder, to be reworked
fix: deleted duplicate equals

fix: changed language level

temp: half finished but ineffective EventBuilder, to be reworked
2021-05-02 02:02:32 +02:00
43cf4c6c1b fix: swap EntityID constructor parameters 2021-05-01 22:24:27 +02:00
Yannik Bretschneider
01ee534a56 refactor: changed tuple test variable name to t for readability 2021-04-30 23:47:41 +02:00
fc1382b343 wip: add basic test for GameState.snapshot 2021-04-30 21:49:10 +02:00
7f225b850c feat: add arbitrary test as base 2021-04-30 20:56:32 +02:00