Skip to content

Commit

Permalink
[ActionScript] add simple tests for numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jrappen committed Feb 13, 2025
1 parent d889254 commit 6af2fbd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ActionScript/syntax_test_as.as
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,24 @@


var intZero:Number = 0;
// ^ meta.number constant.numeric
var intNine:Number = 9;
// ^ meta.number constant.numeric

var intNegZero:Number = -0;
// ^ meta.number constant.numeric
var intNegNine:Number = -9;
// ^ meta.number constant.numeric

var floatZero:Number = 0.0;
// ^^^ meta.number constant.numeric
var floatNine:Number = 9.0;
// ^^^ meta.number constant.numeric

var floatNegZero:Number = -0.0;
// ^^^ meta.number constant.numeric
var floatNegNine:Number = -9.0;
// ^^^ meta.number constant.numeric



Expand Down

0 comments on commit 6af2fbd

Please sign in to comment.