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/runtime/System TestDecimal.cs,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System TestDecimal.cs,1.1,1.2 TestDouble.cs,1.4,1.5 TestString.cs,1.6,1.7
Date: Tue, 15 Apr 2003 03:27:57 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System
In directory subversions:/tmp/cvs-serv27699/tests/runtime/System

Modified Files:
        TestDecimal.cs TestDouble.cs TestString.cs 
Log Message:


Mark up members of the "ExtendedNumerics" subset of ECMA with
CONFIG_EXTENDED_NUMERICS.


Index: TestDecimal.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/TestDecimal.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** TestDecimal.cs      2 Feb 2003 16:39:18 -0000       1.1
--- TestDecimal.cs      15 Apr 2003 07:27:54 -0000      1.2
***************
*** 44,47 ****
--- 44,49 ----
                // Nothing to do here.
        }
+ #if CONFIG_EXTENDED_NUMERICS
+ 
        public void TestConstructor()
        {
***************
*** 246,249 ****
        /*TODO*/
        }
! 
  }
--- 248,251 ----
        /*TODO*/
        }
! #endif // CONFIG_EXTENDED_NUMERICS
  }

Index: TestDouble.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/TestDouble.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TestDouble.cs       17 Mar 2003 17:51:38 -0000      1.4
--- TestDouble.cs       15 Apr 2003 07:27:54 -0000      1.5
***************
*** 44,47 ****
--- 44,49 ----
                // Nothing to do here.
        }
+ 
+ #if CONFIG_EXTENDED_NUMERICS
        public void TestDoubleCompareTo()
        {
***************
*** 122,124 ****
--- 124,127 ----
                //AssertEquals("-1.13", "-1.13", d.ToString());
        }
+ #endif // CONFIG_EXTENDED_NUMERICS
  }

Index: TestString.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/TestString.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** TestString.cs       28 Mar 2003 06:53:59 -0000      1.6
--- TestString.cs       15 Apr 2003 07:27:54 -0000      1.7
***************
*** 360,363 ****
--- 360,364 ----
                                "09", String.Format("{0:D2}", 9));
  
+ #if CONFIG_EXTENDED_NUMERICS
                AssertEquals ("String.Format (\"{0:F2}\", 1234567.89)",
                                "1234567.89", String.Format("{0:F2}", 
1234567.89));
***************
*** 384,388 ****
                AssertEquals("String.Format(\"{0:###0.0#}\", 0)",
                                "0.0", String.Format("{0:###0.0#}", 0));
! 
        }
  
--- 385,389 ----
                AssertEquals("String.Format(\"{0:###0.0#}\", 0)",
                                "0.0", String.Format("{0:###0.0#}", 0));
! #endif
        }
  





reply via email to

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