summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-04-29 21:31:19 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-04-29 21:31:19 (GMT)
commit721adf99529a5565edfbdbb6678f00e7ac9bd155 (patch)
treee3c4652a0b71df6632ccc0145977da6d0f81d614 /Lib/test/output
parent4a7751ccb5539c211a03c9ee3e930e05152e29a1 (diff)
downloadcpython-721adf99529a5565edfbdbb6678f00e7ac9bd155.zip
cpython-721adf99529a5565edfbdbb6678f00e7ac9bd155.tar.gz
cpython-721adf99529a5565edfbdbb6678f00e7ac9bd155.tar.bz2
Port test_richcmp.py to PyUnit. From SF patch #662807 which additional
tests and comments.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_richcmp187
1 files changed, 0 insertions, 187 deletions
diff --git a/Lib/test/output/test_richcmp b/Lib/test/output/test_richcmp
deleted file mode 100644
index 4488c35..0000000
--- a/Lib/test/output/test_richcmp
+++ /dev/null
@@ -1,187 +0,0 @@
-test_richcmp
-
-operator: <
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
-Number(0) | False | True | True |
-Number(1) | False | False | True |
-Number(2) | False | False | False |
-----------+-----------+-----------+-----------+-
-
-operator: <=
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
-Number(0) | True | True | True |
-Number(1) | False | True | True |
-Number(2) | False | False | True |
-----------+-----------+-----------+-----------+-
-
-operator: ==
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
-Number(0) | True | False | False |
-Number(1) | False | True | False |
-Number(2) | False | False | True |
-----------+-----------+-----------+-----------+-
-
-operator: !=
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
-Number(0) | False | True | True |
-Number(1) | True | False | True |
-Number(2) | True | True | False |
-----------+-----------+-----------+-----------+-
-
-operator: >
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
-Number(0) | False | False | False |
-Number(1) | True | False | False |
-Number(2) | True | True | False |
-----------+-----------+-----------+-----------+-
-
-operator: >=
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
-Number(0) | True | False | False |
-Number(1) | True | True | False |
-Number(2) | True | True | True |
-----------+-----------+-----------+-----------+-
-
-**************************************************
-
-operator: <
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
- 0 | False | True | True |
- 1 | False | False | True |
- 2 | False | False | False |
-----------+-----------+-----------+-----------+-
-
-operator: <=
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
- 0 | True | True | True |
- 1 | False | True | True |
- 2 | False | False | True |
-----------+-----------+-----------+-----------+-
-
-operator: ==
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
- 0 | True | False | False |
- 1 | False | True | False |
- 2 | False | False | True |
-----------+-----------+-----------+-----------+-
-
-operator: !=
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
- 0 | False | True | True |
- 1 | True | False | True |
- 2 | True | True | False |
-----------+-----------+-----------+-----------+-
-
-operator: >
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
- 0 | False | False | False |
- 1 | True | False | False |
- 2 | True | True | False |
-----------+-----------+-----------+-----------+-
-
-operator: >=
-
- | Number(0) | Number(1) | Number(2) |
-----------+-----------+-----------+-----------+-
- 0 | True | False | False |
- 1 | True | True | False |
- 2 | True | True | True |
-----------+-----------+-----------+-----------+-
-
-**************************************************
-
-operator: <
-
- | 0 | 1 | 2 |
-----------+-----------+-----------+-----------+-
-Number(0) | False | True | True |
-Number(1) | False | False | True |
-Number(2) | False | False | False |
-----------+-----------+-----------+-----------+-
-
-operator: <=
-
- | 0 | 1 | 2 |
-----------+-----------+-----------+-----------+-
-Number(0) | True | True | True |
-Number(1) | False | True | True |
-Number(2) | False | False | True |
-----------+-----------+-----------+-----------+-
-
-operator: ==
-
- | 0 | 1 | 2 |
-----------+-----------+-----------+-----------+-
-Number(0) | True | False | False |
-Number(1) | False | True | False |
-Number(2) | False | False | True |
-----------+-----------+-----------+-----------+-
-
-operator: !=
-
- | 0 | 1 | 2 |
-----------+-----------+-----------+-----------+-
-Number(0) | False | True | True |
-Number(1) | True | False | True |
-Number(2) | True | True | False |
-----------+-----------+-----------+-----------+-
-
-operator: >
-
- | 0 | 1 | 2 |
-----------+-----------+-----------+-----------+-
-Number(0) | False | False | False |
-Number(1) | True | False | False |
-Number(2) | True | True | False |
-----------+-----------+-----------+-----------+-
-
-operator: >=
-
- | 0 | 1 | 2 |
-----------+-----------+-----------+-----------+-
-Number(0) | True | False | False |
-Number(1) | True | True | False |
-Number(2) | True | True | True |
-----------+-----------+-----------+-----------+-
-
-**************************************************
-Vector([0, 1, 2, 3, 4]) < Vector([2, 2, 2, 2, 2]) -> Vector([True, True, False, False, False])
-Vector([0, 1, 2, 3, 4]) < [2, 2, 2, 2, 2] -> Vector([True, True, False, False, False])
- [0, 1, 2, 3, 4] < Vector([2, 2, 2, 2, 2]) -> Vector([True, True, False, False, False])
-Vector([0, 1, 2, 3, 4]) <= Vector([2, 2, 2, 2, 2]) -> Vector([True, True, True, False, False])
-Vector([0, 1, 2, 3, 4]) <= [2, 2, 2, 2, 2] -> Vector([True, True, True, False, False])
- [0, 1, 2, 3, 4] <= Vector([2, 2, 2, 2, 2]) -> Vector([True, True, True, False, False])
-Vector([0, 1, 2, 3, 4]) == Vector([2, 2, 2, 2, 2]) -> Vector([False, False, True, False, False])
-Vector([0, 1, 2, 3, 4]) == [2, 2, 2, 2, 2] -> Vector([False, False, True, False, False])
- [0, 1, 2, 3, 4] == Vector([2, 2, 2, 2, 2]) -> Vector([False, False, True, False, False])
-Vector([0, 1, 2, 3, 4]) != Vector([2, 2, 2, 2, 2]) -> Vector([True, True, False, True, True])
-Vector([0, 1, 2, 3, 4]) != [2, 2, 2, 2, 2] -> Vector([True, True, False, True, True])
- [0, 1, 2, 3, 4] != Vector([2, 2, 2, 2, 2]) -> Vector([True, True, False, True, True])
-Vector([0, 1, 2, 3, 4]) > Vector([2, 2, 2, 2, 2]) -> Vector([False, False, False, True, True])
-Vector([0, 1, 2, 3, 4]) > [2, 2, 2, 2, 2] -> Vector([False, False, False, True, True])
- [0, 1, 2, 3, 4] > Vector([2, 2, 2, 2, 2]) -> Vector([False, False, False, True, True])
-Vector([0, 1, 2, 3, 4]) >= Vector([2, 2, 2, 2, 2]) -> Vector([False, False, True, True, True])
-Vector([0, 1, 2, 3, 4]) >= [2, 2, 2, 2, 2] -> Vector([False, False, True, True, True])
- [0, 1, 2, 3, 4] >= Vector([2, 2, 2, 2, 2]) -> Vector([False, False, True, True, True])