Skip to content

Commit

Permalink
User smaller replay files
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed May 6, 2024
1 parent 61d4105 commit cd2ec88
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ public void compareBinary01() throws CompressorException, IOException {

@Test
public void compareBinary02() throws CompressorException, IOException {
Path fafReplayFile = temporaryFolder.resolve("22379519.fafreplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22379519.fafreplay")), fafReplayFile);
Path fafReplayFile = temporaryFolder.resolve("22373098.fafreplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22373098.fafreplay")), fafReplayFile);

Path scfaReplayFile = temporaryFolder.resolve("22379519.scfareplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22379519.scfareplay")), scfaReplayFile);
Path scfaReplayFile = temporaryFolder.resolve("22373098.scfareplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22373098.scfareplay")), scfaReplayFile);

ReplayContainer fafReplayContainer = LoadReplay.loadFAFReplayFromDisk(fafReplayFile);
ReplayContainer scfaReplayContainer = LoadReplay.loadReplayFromDisk(scfaReplayFile);
Expand All @@ -111,11 +111,11 @@ public void compareBinary02() throws CompressorException, IOException {

@Test
public void compareBinary03() throws CompressorException, IOException {
Path fafReplayFile = temporaryFolder.resolve("2213263.fafreplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22379519.fafreplay")), fafReplayFile);
Path fafReplayFile = temporaryFolder.resolve("22425616.fafreplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22425616.fafreplay")), fafReplayFile);

Path scfaReplayFile = temporaryFolder.resolve("2213263.scfareplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22379519.scfareplay")), scfaReplayFile);
Path scfaReplayFile = temporaryFolder.resolve("22425616.scfareplay");
Files.copy(Objects.requireNonNull(getClass().getResourceAsStream("/replay/load/22425616.scfareplay")), scfaReplayFile);

ReplayContainer fafReplayContainer = LoadReplay.loadFAFReplayFromDisk(fafReplayFile);
ReplayContainer scfaReplayContainer = LoadReplay.loadReplayFromDisk(scfaReplayFile);
Expand Down

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.

0 comments on commit cd2ec88

Please sign in to comment.