shumway/test/swfs/trace.stas

16 строки
330 B
Stas

// Simple text output comparison test script
run_test = function (t, file) {
print ("Testing " + file);
t.reset (file);
var expected = Buffer.load (file + ".trace");
t.advance (1000);
var diff = t.trace.diff (expected);
};
t = new Test ();
for (var i = 0; i < filenames.length; i++) {
run_test (t, filenames[i]);
}