Java Doc for BigIntegerCompareTest.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » tests » java » math » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » org package » org.apache.harmony.tests.java.math 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.harmony.tests.java.math.BigIntegerCompareTest

BigIntegerCompareTest
public class BigIntegerCompareTest extends TestCase (Code)
Class: java.math.BigInteger Methods: abs, compareTo, equals, max, min, negate, signum




Method Summary
public  voidtestAbsNegative()
    
public  voidtestAbsPositive()
    
public  voidtestCompareNegNeg2()
     compareTo(BigInteger a).
public  voidtestCompareToDiffSigns1()
     compareTo(BigInteger a).
public  voidtestCompareToDiffSigns2()
     compareTo(BigInteger a).
public  voidtestCompareToEqualNeg()
     compareTo(BigInteger a).
public  voidtestCompareToEqualPos()
     compareTo(BigInteger a).
public  voidtestCompareToNegNeg1()
     compareTo(BigInteger a).
public  voidtestCompareToNegZero()
     compareTo(BigInteger a).
public  voidtestCompareToPosPos1()
     compareTo(BigInteger a).
public  voidtestCompareToPosPos2()
     compareTo(BigInteger a).
public  voidtestCompareToPosZero()
     compareTo(BigInteger a).
public  voidtestCompareToZeroNeg()
     compareTo(BigInteger a).
public  voidtestCompareToZeroPos()
     compareTo(BigInteger a).
public  voidtestCompareToZeroZero()
     compareTo(BigInteger a).
public  voidtestEqualsBigIntegerFalse()
     equals(Object obj).
public  voidtestEqualsBigIntegerTrue()
     equals(Object obj).
public  voidtestEqualsNull()
     equals(null).
public  voidtestEqualsObject()
     equals(Object obj).
public  voidtestMaxEqual()
     max(BigInteger val).
public  voidtestMaxGreater()
     max(BigInteger val).
public  voidtestMaxLess()
     max(BigInteger val).
public  voidtestMaxNegZero()
     max(BigInteger val).
public  voidtestMinEqual()
     min(BigInteger val).
public  voidtestMinGreater()
     min(BigInteger val).
public  voidtestMinLess()
     min(BigInteger val).
public  voidtestMinPosZero()
     max(BigInteger val).
public  voidtestNegateNegative()
     negate() a negative number.
public  voidtestNegatePositive()
     negate() a positive number.
public  voidtestNegateZero()
     negate() ZERO.
public  voidtestSignumNegative()
     signum() of a negative number.
public  voidtestSignumPositive()
     signum() of a positive number.
public  voidtestSignumZero()
     signum() of ZERO.



Method Detail
testAbsNegative
public void testAbsNegative()(Code)
abs() for a negative number



testAbsPositive
public void testAbsPositive()(Code)
abs() for a positive number



testCompareNegNeg2
public void testCompareNegNeg2()(Code)
compareTo(BigInteger a). Compare two negative numbers. The first is less in absolute value.



testCompareToDiffSigns1
public void testCompareToDiffSigns1()(Code)
compareTo(BigInteger a). Compare two numbers of different signs. The first is positive.



testCompareToDiffSigns2
public void testCompareToDiffSigns2()(Code)
compareTo(BigInteger a). Compare two numbers of different signs. The first is negative.



testCompareToEqualNeg
public void testCompareToEqualNeg()(Code)
compareTo(BigInteger a). Compare two equal negative numbers.



testCompareToEqualPos
public void testCompareToEqualPos()(Code)
compareTo(BigInteger a). Compare two equal positive numbers.



testCompareToNegNeg1
public void testCompareToNegNeg1()(Code)
compareTo(BigInteger a). Compare two negative numbers. The first is greater in absolute value.



testCompareToNegZero
public void testCompareToNegZero()(Code)
compareTo(BigInteger a). Compare a negative number to ZERO.



testCompareToPosPos1
public void testCompareToPosPos1()(Code)
compareTo(BigInteger a). Compare two positive numbers. The first is greater.



testCompareToPosPos2
public void testCompareToPosPos2()(Code)
compareTo(BigInteger a). Compare two positive numbers. The first is less.



testCompareToPosZero
public void testCompareToPosZero()(Code)
compareTo(BigInteger a). Compare a positive number to ZERO.



testCompareToZeroNeg
public void testCompareToZeroNeg()(Code)
compareTo(BigInteger a). Compare ZERO to a negative number.



testCompareToZeroPos
public void testCompareToZeroPos()(Code)
compareTo(BigInteger a). Compare ZERO to a positive number.



testCompareToZeroZero
public void testCompareToZeroZero()(Code)
compareTo(BigInteger a). Compare ZERO to ZERO.



testEqualsBigIntegerFalse
public void testEqualsBigIntegerFalse()(Code)
equals(Object obj). obj is a BigInteger. numbers are not equal.



testEqualsBigIntegerTrue
public void testEqualsBigIntegerTrue()(Code)
equals(Object obj). obj is a BigInteger. numbers are equal.



testEqualsNull
public void testEqualsNull()(Code)
equals(null).



testEqualsObject
public void testEqualsObject()(Code)
equals(Object obj). obj is not a BigInteger



testMaxEqual
public void testMaxEqual()(Code)
max(BigInteger val). numbers are equal.



testMaxGreater
public void testMaxGreater()(Code)
max(BigInteger val). the first is greater.



testMaxLess
public void testMaxLess()(Code)
max(BigInteger val). the first is less.



testMaxNegZero
public void testMaxNegZero()(Code)
max(BigInteger val). max of negative and ZERO.



testMinEqual
public void testMinEqual()(Code)
min(BigInteger val). numbers are equal.



testMinGreater
public void testMinGreater()(Code)
min(BigInteger val). the first is greater.



testMinLess
public void testMinLess()(Code)
min(BigInteger val). the first is less.



testMinPosZero
public void testMinPosZero()(Code)
max(BigInteger val). min of positive and ZERO.



testNegateNegative
public void testNegateNegative()(Code)
negate() a negative number.



testNegatePositive
public void testNegatePositive()(Code)
negate() a positive number.



testNegateZero
public void testNegateZero()(Code)
negate() ZERO.



testSignumNegative
public void testSignumNegative()(Code)
signum() of a negative number.



testSignumPositive
public void testSignumPositive()(Code)
signum() of a positive number.



testSignumZero
public void testSignumZero()(Code)
signum() of ZERO.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.