mirror of
https://github.com/Barubary/dsdecmp.git
synced 2024-11-16 15:49:24 +01:00
3a6221a0c6
The current RLE implementation passed the first test: compression->decompression resulted in the same file for a manually created test file. (and the compressed file also has the expected format)
23 lines
535 B
C#
23 lines
535 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using DSDecmp.Formats.Nitro;
|
|
using System.IO;
|
|
|
|
namespace DSDecmp
|
|
{
|
|
class TestProgram
|
|
{
|
|
|
|
public static void Main2(string[] args)
|
|
{
|
|
new RLE().Compress("tests/rle/testdata.dat", "tests/rle/cmp/testdata.rle.dat");
|
|
new RLE().Decompress("tests/rle/cmp/testdata.rle.dat", "tests/rle/dec/testdata.elr.dat");
|
|
Console.WriteLine("Success?");
|
|
Console.ReadLine();
|
|
|
|
}
|
|
|
|
}
|
|
}
|