Commit Graph
185 Commits
Author SHA1 Message Date
Timmeey86 329dac77ee Consumers only draw power when all other required inputs are valid 2018-12-05 18:56:07 +01:00
Timmeey86 e5dabc63c2 Removed power bars from producers 2018-12-05 18:03:50 +01:00
Timmeey86 982c9bf964 - Fixed double power production
- Buffered consumers no longer request power when full
2018-12-01 14:31:01 +01:00
Timmeey86 149f7a1d9d Merged current master into branch (with manual changes) 2018-11-30 21:33:09 +01:00
Timmeey86 074a6bfa87 Reverted accidental file push 2018-11-30 21:10:31 +01:00
Timmeey86 965fec5927 Continued work on power generators 2018-11-30 21:08:33 +01:00
Timmeey86 28f73d0a76 Merged ItemGenerator, LiquidGenerator and ItemLiquidGenerator into a single class.
Unit tests now test the ItemsOnly, LiquidsOnly and LiquidsAndItems cases
2018-11-30 18:37:51 +01:00
Timmeey86 bcb9cfd2fe Synchronized Item/Liquid generator code 2018-11-30 00:03:53 +01:00
Timmeey86 ec631f3499 Changed test naming conventions as requested by Anuke 2018-11-28 23:54:26 +01:00
Timmeey86 2972780bed Initial Efficiency is now zero. Blocks display efficiency. 2018-11-28 13:19:52 +01:00
Timmeey86 cf3d2c3def Fixed handling of item duration 2018-11-28 11:59:58 +01:00
Timmeey86 1f8751054c Tested/fixed delta calculations
Tests now use a fixed delta of 0.5 to make sure calculations work with deltas different from 1.0
2018-11-28 11:04:08 +01:00
Timmeey86 739219c57b Finished first draft of ItemLiquidGenerator through TDD 2018-11-27 22:28:41 +01:00
Timmeey86 f56e1933a6 Fixed occassional crashes of Power Tests and continued TDD 2018-11-27 21:27:35 +01:00
Timmeey86 11e071289b Reorganized power tests ...
... and changed creation of fake tiles so update() implementations have all required dependencies
2018-11-27 08:51:19 +01:00
Timmeey86 a9517096f9 Merged current Anuke master into branch 2018-11-26 23:25:24 +01:00
Timmeey86 77b9feb765 More Tests and fixes
- Batteries will now get charged with no consumers
- Fixed stat display of power generators
2018-11-26 09:24:08 +01:00
Timmeey86 99139dfcca Added unit tests for batteries...
...and fixed battery distribution until all tests passed
2018-11-26 08:58:16 +01:00
Anuken 66c29c49e5 Wave spawner moved / Bundle tweaks / Blank name 2018-11-23 13:32:17 -05:00
Anuken e5d6740555 Additional tests, inventory fixes 2018-11-23 12:40:36 -05:00
Timmeey86 560d388df4 Added Tests, fixed detected bugs and updated JUnit 2018-11-22 23:30:49 +01:00
Anuken c5241eaaf6 Encoding tests 2018-11-21 23:12:27 -05:00
Timmeey86 7683e86d8b Added two unit tests for bounds checking 2018-11-21 23:57:24 +01:00
Timmeey86 558c89cc30 Finished first unit test (equal power input and output) and fixed bugs detected by it 2018-11-21 00:04:26 +01:00
Timmeey86 222d41c84a Added Test stub 2018-11-20 22:58:13 +01:00
Timmeey86andAnuken 044390b4b4 Sector -2 0 fix (#322)
* Added a battle mission to Sector (-2,0) as otherwise no core would be spawned

* Fixed a crash which occurred during test execution...

... and could maybe occur during any startup with bad timing

* Added a new class for sector tests ...

... and added a test which makes sure that any predefined sector defines
a spawn point

* Added fix after applying test driven bugfixing
2018-11-10 21:19:27 -05:00
Anuken 2094bc3d80 Renamed phase matter to reduce conflicts / Item balancing 2018-10-26 00:00:25 -04:00
Anuken 0b168376ed Fixed build errors 2018-10-08 17:02:16 -04:00
Anuken 4ca546f44a Test cleanup / Artillery fixes 2018-10-07 23:22:54 -04:00
Anuken 244eb91dfb Added new test 2018-10-04 17:59:16 -04:00
Anuken ee5a3269f2 Failure confirmed working 2018-10-03 21:17:36 -04:00
Anuken f89bf027f7 Testing test failure 2018-10-03 21:12:27 -04:00
Anuken c82fd9ead5 Added unit tests 2018-10-03 20:58:35 -04:00
Anuken 34715b1e06 Fixed compile errors 2018-10-03 17:17:12 -04:00
Anuken f0870b3236 Created test module 2018-10-03 15:53:33 -04:00