~ubuntu-branches/ubuntu/jaunty/swfdec0.8/jaunty

« back to all changes in this revision

Viewing changes to test/trace/unreproducable-random.as

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2008-10-10 19:15:24 UTC
  • Revision ID: package-import@ubuntu.com-20081010191524-5z85qiky1d4bvgfa
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// makeswf -v 7 -s 200x150 -r 1 -o unreproducable-random.swf unreproducable-random.as
 
2
 
 
3
trace ("This is an internal Swfdec test to ensure tests are internally predictable.");
 
4
trace ("You cannot reproduce this test with any other Flash player.");
 
5
 
 
6
for (i = 0; i < 100; i++) {
 
7
  asm {
 
8
    push 100
 
9
    random
 
10
    trace
 
11
  };
 
12
  trace (Math.random ());
 
13
}
 
14
 
 
15
trace (new Date ());
 
16
 
 
17
loadMovie ("fscommand:QUIT", "");