Test comparison operators with a left or right NULL operand on all types.
| 946 | |
| 947 | // Test comparison operators with a left or right NULL operand on all types. |
| 948 | void TestNullComparisons() { |
| 949 | unordered_map<int, string>::iterator def_iter; |
| 950 | for(def_iter = default_type_strs_.begin(); def_iter != default_type_strs_.end(); |
| 951 | ++def_iter) { |
| 952 | TestNullComparison(def_iter->second); |
| 953 | } |
| 954 | TestNullComparison("NULL"); |
| 955 | } |
| 956 | |
| 957 | // Generate all possible tests for combinations of <smaller> <op> <larger>. |
| 958 | // Also test conversions from strings. |