[Top][All Lists]
[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
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [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,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlConvert.cs,1.4,1.5
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Private/NumberFormat CustomFormatter.cs,1.3,1.4 Formatter.cs,1.5,1.6 GeneralFormatter.cs,1.7,1.8 RoundTripFormatter.cs,1.3,1.4 ScientificFormatter.cs,1.5,1.6
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlConvert.cs,1.4,1.5
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Private/NumberFormat CustomFormatter.cs,1.3,1.4 Formatter.cs,1.5,1.6 GeneralFormatter.cs,1.7,1.8 RoundTripFormatter.cs,1.3,1.4 ScientificFormatter.cs,1.5,1.6
- Index(es):