Fixed tests

This commit is contained in:
Jindra Petřík
2022-11-25 20:16:00 +01:00
parent b156340a83
commit 54d7cb38bc
14 changed files with 38 additions and 36 deletions

View File

@@ -10,7 +10,7 @@ package tests
public function run():void
{
var a:int = int(Math.random());
var a:int = Math.random();
if (a > 10)
{

View File

@@ -9,7 +9,7 @@ package tests
public function run() : String
{
var a:int = int(Math.random() * 5);
var a:int = Math.random() * 5;
try
{
trace("before try2");

View File

@@ -10,7 +10,7 @@ package tests
public function run() : String
{
var a:int = int(Math.random() * 5);
var a:int = Math.random() * 5;
try
{
try

View File

@@ -9,7 +9,7 @@ package tests
public function run() : void
{
var a:int = int(Math.random() * 5);
var a:int = Math.random() * 5;
trace("before try");
try
{