Commit graph

15 commits

Author SHA1 Message Date
1a32b8e085 Don't recurse to size 2; only average corner of particular side you're on
The former makes things so much faster. omg.
2018-11-26 08:36:53 -08:00
ebac808683 Update tests to pass in progress objects 2018-11-20 11:02:33 -07:00
50d895afa1 Add a performance test for the Diamond-Square renderer 2018-11-11 22:13:14 -05:00
47df42c8e5 Add a basic Queue data structure
Implemented as a linked list.
2018-11-10 17:42:23 -05:00
5233a94fec Oops fix my algorithm and update the tests 2018-11-10 17:05:54 -05:00
359c7ef987 Rename DiamondSquareAlgorithm -> DiamondSquareGenerator 2018-11-10 16:05:30 -05:00
e50a36f7d1 Test point->index conversion 2018-11-10 16:03:38 -05:00
045842c20a Tests for diamondCorners and a lot of debugging 2018-11-10 15:33:12 -05:00
6b6e317a9c Make Point and Size honest to goodness structs 2018-11-10 13:50:28 -05:00
c62ae41fc0 Tests for side midpoints; move BFS test to BoxTests 2018-11-10 12:54:34 -05:00
48425d5cb8 Tests for breadth first search 2018-11-10 12:47:04 -05:00
8d6c48466b Remove all the explicit type names from the tests 2018-11-10 10:40:44 -05:00
cd48797fa9 Fix the build; test box subdivisions 2018-11-10 10:30:07 -05:00
cce59a45dc Get down an initial diamond-squares implementation 2018-11-10 09:53:37 -05:00
a390cbc584 Add unit test target for Terrain2 2018-11-08 20:19:31 -05:00