mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-13 08:15:20 +07:00
Added preload for sounds table records test
This commit is contained in:
parent
2ea6398d0c
commit
4ac194b335
@ -171,6 +171,7 @@ public class TablesTest extends RiiabloTest {
|
||||
TableManifest.sounds.parser = null;
|
||||
FileHandle handle = Gdx.files.internal("test/sounds.txt");
|
||||
SoundsTable table = Tables.loadTsv(TableManifest.sounds, handle);
|
||||
for (int i = 0, s = table.parser.parser().numRecords(); i < s; i++) table.get(i);
|
||||
for (Sounds record : table) {
|
||||
Assert.assertSame(record, table.get(record.Index));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user