dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/tests/JScript TestGlobal.cs,1.1,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/tests/JScript TestGlobal.cs,1.1,1.2
Date: Thu, 06 Mar 2003 20:44:31 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/tests/JScript
In directory subversions:/tmp/cvs-serv17212/tests/JScript

Modified Files:
        TestGlobal.cs 
Log Message:


Handle builtin functions that have odd numbers of parameters.


Index: TestGlobal.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/JScript/TestGlobal.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** TestGlobal.cs       6 Mar 2003 23:52:41 -0000       1.1
--- TestGlobal.cs       7 Mar 2003 01:44:25 -0000       1.2
***************
*** 267,270 ****
--- 267,274 ----
                                                                                
("parseInt(\"123\", 0)", engine)),
                                                         0.0001);
+                               AssertEquals("EvalParseInt (2)", 123.0,
+                                                        
(double)(Eval.JScriptEvaluate
+                                                                               
("parseInt(\"123\")", engine)),
+                                                        0.0001);
  
                                // Close the engine.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]