Enno Rehling
|
65c39866e1
|
refactor: add a faction_add_seen function that also updates [first, last) interval.
add tests for add_seen.
disable test_faction_add_seen, looks like it needs a valgrind check?
|
2015-09-09 11:08:33 +02:00 |
Enno Rehling
|
42e51a0ec4
|
refactor looping through the hashtable of seen_regions into a map function.
|
2015-09-09 09:38:57 +02:00 |
Enno Rehling
|
3eabf082ac
|
refactor prepare_report to extract prepare_seen, because we assume the bug is in there.
add a failing test for it to prove that bug is in here.
|
2015-09-09 09:04:59 +02:00 |
Enno Rehling
|
b551261b66
|
fix the bug that the unit test exposed. it was so simple!
still not fixing the integration test, though :-(
|
2015-09-08 16:35:18 +02:00 |
Enno Rehling
|
9312b44f8e
|
move seen_region logic to a separate seen.[hc] module for testing.
currently failing test:
1) Failure (tests.report.test_lighthouse):
./scripts/tests/common.lua:1051: true expected but was false
|
2015-09-08 09:56:56 +02:00 |