File: test_pow

package info (click to toggle)
jython 2.2.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,708 kB
  • ctags: 46,200
  • sloc: python: 150,937; java: 86,267; xml: 1,080; perl: 104; sh: 93; makefile: 81; ansic: 24
file content (25 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
test_pow
Testing integer mode...
    Testing 2-argument pow() function...
    Testing 3-argument pow() function...
Testing long integer mode...
    Testing 2-argument pow() function...
    Testing 3-argument pow() function...
Testing floating point mode...
    Testing 3-argument pow() function...
The number in both columns should match.
3 3
-5 -5
-1 -1
5 5
-3 -3
-7 -7

3L 3L
-5L -5L
-1L -1L
5L 5L
-3L -3L
-7L -7L