Ismail TAHA JANAN
1ee0e762b4
✅ test fore dices
3 years ago
Ismail TAHA JANAN
f2957f06e2
✅ Faces Test implemented
3 years ago
Alexis Drai
67edaf0e9b
♻️ Turn Theory into Fact
...
xUnit doesn't seem to allow using objects in the InlineData fields
3 years ago
istahajana
206786271a
code with error
3 years ago
Alexis Drai
a987f36eac
🔥 Clean up imports
3 years ago
Ismail TAHA JANAN
949521ff9b
✅ conflict solved
3 years ago
Alexis Drai
b8ea8a020e
🚚 Organize UTs in folders
3 years ago
Alexis Drai
fc6a71801f
✅ Get UTs done
3 years ago
Alexis Drai
8514606fa6
➖ ➕ Juggle with dependencies to make it make sense
3 years ago
Alexis Drai
d4d587afb9
✨ Simplify code and give more freedom
...
by introducing HomogeneousDie, changing the logic in Face, and making class names shorter
3 years ago
Alexis Drai
5073793f92
⚗️ Try without UT constructor
3 years ago
Alexis Drai
02abe1fbfd
⚗️ Hardcode the stub in UT class to test SonarQube
3 years ago
Alexis Drai
006b35066d
♻️ Refactor UTs and hope that SonarQube updates coverage
3 years ago
Alexis Drai
455f1210ef
✅ Complete test suite, add checks to R and U
3 years ago
Alexis Drai
8d8c2f445a
💩
3 years ago
Alexis Drai
062c17b7f1
🚧 WIP
3 years ago
Alexis Drai
3c74fa4962
🚧 WIP
3 years ago
Alexis Drai
c46d88029b
♻️ Remove extra methods, make Game.PlayerManager usable
3 years ago
Alexis Drai
9da428862f
Override equals and hash, add UTs
3 years ago
Alexis Drai
82c36049f2
🎨 Improve die faces, expose Value, make use of inheritance
3 years ago
Alexis Drai
a1590ede32
✅ Finish UT PlayerManager
3 years ago
Alexis Drai
ff4d6eab9b
✅ Finish tests and fix #30
3 years ago
Alexis Drai
2ea6feec0d
✅ Add UTs for Game, 🐛 debug nextIndex
3 years ago
Alexis Drai
f0e74ae517
🚧 WIP
3 years ago
Alexis Drai
4d07c3ffc1
✅ Set up instances for UTs
3 years ago
Alexis Drai
9158101677
✅ Add UT for DiceNFaces property
3 years ago
Alexis Drai
5937a1cc28
👔 ♻️ Fix #68
3 years ago
Alexis Drai
1403b5d7fb
🚧 WIP
3 years ago
Alexis Drai
a4f0b3948e
⚰️ Remove dead code (names for dice)
3 years ago
Alexis Drai
86ff2fe752
🔥 ⚰️ Fix #60
3 years ago
Alexis Drai
7389ee8756
✅ 💬 Include AbstractDieFace in Turn, update ToString(), pass tests
3 years ago
Alexis Drai
011db706e0
🏗️ 📦 ️ Make separate packages for clarity
3 years ago
Alexis Drai
f52676c901
🏗️ Add all (emptyish) classes, articulate
3 years ago
Alexis Drai
85e16cf590
✅ Implement UTs on Turn class
3 years ago
Alexis Drai
d734fd9215
✅ 👔 Add Turn class and first UTs
3 years ago
Alexis Drai
1ad5c7cf21
🛂 ✅ Add null checks and exceptions, reflect change in UTs
3 years ago
Alexis Drai
86597ef08f
🩹 Remove old or useless TODOs
3 years ago
Alexis Drai
e85b9e5550
♻️ Refactor, D.R.Y., use "expected" and "actual"
3 years ago
Alexis Drai
fb69b719b4
✅ Generalize from HashSets to IEnumerables or Collections
3 years ago
Alexis Drai
0f3471cb60
✏️ Fix typo
3 years ago
Alexis Drai
a5483b3850
✅ Improve Update() test after bugfix
3 years ago
Alexis Drai
fd00107e5f
🩹 Pass params by vals instead of by refs
...
if we pass parameters by reference, it must be because we want to
change them in the method and to keep those changes.
This seems like a different situation, so we should be able
to pass the objects by value.
3 years ago
Alexis Drai
e9f628c2da
✅ Add one last test to PlayerManager
3 years ago
Alexis Drai
923c42b9f2
✏️ Fix typo
3 years ago
Alexis Drai
9994798c6f
✅ Design unit tests for PlayerManager
3 years ago
Alexis Drai
33f390b074
✅ 👔 Trim player names and update tests
3 years ago
Alexis Drai
b65fe617bc
♻️ Refactor repeated Fact test into a Theory test
3 years ago
Alexis Drai
bfe20a653c
✅ Complete #27 and Fix #44
3 years ago
Alexis Drai
0995660259
✅ Design UTs for Player
3 years ago
Alexis Drai
a0a4f1550a
💩 Change some random string
3 years ago