diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-30 11:45:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-12-30 11:45:08 -0300 |
commit | bd1b87c5790c0c6fe23f76aa360e879922e1e738 (patch) | |
tree | 49978c2dd847c7ff4ec84e1a153ca37deef79e2a /testes/math.lua | |
parent | d7bb8df8414f71a290c8a4b1c9f7c6fe839a94df (diff) | |
download | lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.gz lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.bz2 lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.zip |
Comments (mosty typos)
Diffstat (limited to 'testes/math.lua')
-rw-r--r-- | testes/math.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/math.lua b/testes/math.lua index c7dc8285..7248787b 100644 --- a/testes/math.lua +++ b/testes/math.lua | |||
@@ -758,7 +758,7 @@ do -- testing max/min | |||
758 | assert(eqT(math.min(maxint, maxint - 1), maxint - 1)) | 758 | assert(eqT(math.min(maxint, maxint - 1), maxint - 1)) |
759 | assert(eqT(math.min(maxint - 2, maxint, maxint - 1), maxint - 2)) | 759 | assert(eqT(math.min(maxint - 2, maxint, maxint - 1), maxint - 2)) |
760 | end | 760 | end |
761 | -- testing implicit convertions | 761 | -- testing implicit conversions |
762 | 762 | ||
763 | local a,b = '10', '20' | 763 | local a,b = '10', '20' |
764 | assert(a*b == 200 and a+b == 30 and a-b == -10 and a/b == 0.5 and -b == -20) | 764 | assert(a*b == 200 and a+b == 30 and a-b == -10 and a/b == 0.5 and -b == -20) |