|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for the non-throwing try_read_* parser overloads (ca-io.H).
More...
Go to the source code of this file.
Functions | |
| TEST (CaIoExpected, RleSuccess) | |
| TEST (CaIoExpected, RleErrorCarriesMessage) | |
| TEST (CaIoExpected, RleIstreamOverload) | |
| TEST (CaIoExpected, RleEmptyInputFails) | |
| TEST (CaIoExpected, PlaintextSuccessAndError) | |
| TEST (CaIoExpected, Life105SuccessAndError) | |
| TEST (CaIoExpected, Life106SuccessAndError) | |
| TEST (CaIoExpected, LifeEmptyInputFails) | |
| TEST (CaIoExpected, CsvSuccessAndError) | |
| TEST (CaIoExpected, CsvEmptyInputHandled) | |
| TEST (CaIoExpected, ThrowingReadersStillThrow) | |
Tests for the non-throwing try_read_* parser overloads (ca-io.H).
Each try_read_* must return a value on valid input and an error message on invalid input, while the corresponding throwing reader keeps throwing.
Definition in file ca_io_expected_test.cc.
| TEST | ( | CaIoExpected | , |
| CsvEmptyInputHandled | |||
| ) |
Definition at line 153 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and r.
| TEST | ( | CaIoExpected | , |
| CsvSuccessAndError | |||
| ) |
Definition at line 139 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CaIoExpected | , |
| Life105SuccessAndError | |||
| ) |
Definition at line 98 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::try_read_life_105().
| TEST | ( | CaIoExpected | , |
| Life106SuccessAndError | |||
| ) |
Definition at line 111 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::try_read_life_106().
| TEST | ( | CaIoExpected | , |
| LifeEmptyInputFails | |||
| ) |
Definition at line 124 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::try_read_life_105(), and Aleph::CA::try_read_life_106().
| TEST | ( | CaIoExpected | , |
| PlaintextSuccessAndError | |||
| ) |
Definition at line 83 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::try_read_plaintext().
| TEST | ( | CaIoExpected | , |
| RleEmptyInputFails | |||
| ) |
Definition at line 74 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::CA::try_read_rle_string().
| TEST | ( | CaIoExpected | , |
| RleErrorCarriesMessage | |||
| ) |
Definition at line 59 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::CA::try_read_rle_string().
| TEST | ( | CaIoExpected | , |
| RleIstreamOverload | |||
| ) |
Definition at line 66 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::CA::try_read_rle().
| TEST | ( | CaIoExpected | , |
| RleSuccess | |||
| ) |
Definition at line 50 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::CA::try_read_rle_string().
| TEST | ( | CaIoExpected | , |
| ThrowingReadersStillThrow | |||
| ) |
Definition at line 163 of file ca_io_expected_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::read_life_105(), Aleph::CA::read_life_106(), Aleph::CA::read_plaintext(), and Aleph::CA::read_rle_string().