Colin McMillen
f10e0a689f
migrate all tests to xunit
4 years ago
Colin McMillen
b15a376244
SharedTests: depend on MonoGame 3.8
4 years ago
Colin McMillen
fea3eedb4f
Update MSTest versions.
4 years ago
Colin McMillen
de01b04873
Player: stop creating a new Point[] via Line.Rasterize every frame.
4 years ago
Colin McMillen
67550a789b
move History.ToArray() into test code.
4 years ago
Colin McMillen
4bcb0d9b95
fix SharedTests references to JSON library.
4 years ago
Colin McMillen
ab2a57d632
update LangVersion=latest in all projects
GitOrigin-RevId: 197405574e
4 years ago
Colin McMillen
a32ef2a0eb
Add unit tests for Geometry.Rotate(Vector2).
Fixes #20 .
GitOrigin-RevId: 45cd5e99a2
4 years ago
Colin McMillen
57b65f559c
rename Aabb -> AABB
GitOrigin-RevId: 37b49d7a3f
4 years ago
Colin McMillen
878d434b22
Add code for intersecting axis-aligned bounding boxes with segments & each other
GitOrigin-RevId: 99a855c1a8
4 years ago
Colin McMillen
bba9f643eb
Implement Bresenham's algorithm for line rasterization.
This is implemented as a static Line.Rasterize(Point p1, Point p2) function
that returns an array of Points. There's also a Line.Rasterize(x1, y1, x1, y2)
version for convenience.
Unit tests included.
GitOrigin-RevId: 525098f8c7
4 years ago
Colin McMillen
252fe5b243
remove unused using
GitOrigin-RevId: 1584816927
4 years ago
Colin McMillen
ae8fa0d21d
Revert "Add .gitignore and .gitattributes."
This reverts commit 5c9f574644
.
GitOrigin-RevId: 277054282d
4 years ago
Colin McMillen
cb1b78b875
Add .gitignore and .gitattributes.
GitOrigin-RevId: 5c9f574644
5 years ago
Colin McMillen
f6f25144b6
SharedTests: don't depend on specific MonoGame version
GitOrigin-RevId: d30010bbac
4 years ago
Colin McMillen
cc37561076
run dos2unix on all source files
GitOrigin-RevId: c65ff59d86
4 years ago
Colin McMillen
960521a6e0
History: add ToArray() method to make tests cleaner
GitOrigin-RevId: 5bbf5be614
4 years ago
Colin McMillen
ab692f94a7
Add unit tests for History class.
Also introduce .editorconfig file and update .csproj files.
GitOrigin-RevId: 60369ee53b
4 years ago