Skip to content

Commit

Permalink
forgot to commit this - now it compiles at travis again
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhendriks committed Oct 1, 2016
1 parent cf533aa commit e3114ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ public void setUp() throws SlickException {

@Test
public void filtersForPlayer() {
Set<Entity> result = entitiesSet.filter(BelongsToPlayer.Instance(player));
Set<Entity> result = entitiesSet.filter(BelongsToPlayer.instance(player));
assertEquals(playerOneStructureCount + playerOneUnitCount + playerOneBareEntitiesCount, result.size());
}

@Test
public void filtersNotForPlayer() {
// get everything except player one
Set<Entity> result = entitiesSet.filter(new NotPredicate(BelongsToPlayer.Instance(player)));
Set<Entity> result = entitiesSet.filter(new NotPredicate(BelongsToPlayer.instance(player)));
// player 2 has 6 entities
assertEquals(6, result.size());
}
Expand Down

0 comments on commit e3114ae

Please sign in to comment.