Test for the same hash code for same semantic value.
| 230 | |
| 231 | // Test for the same hash code for same semantic value. |
| 232 | void test_hashLongAndDouble() { |
| 233 | SIValue siInt64 = SI_LongVal(1); |
| 234 | SIValue siDouble = SI_DoubleVal(1.0); |
| 235 | uint64_t longHashCode = SIValue_HashCode(siInt64); |
| 236 | uint64_t boolHashCode = SIValue_HashCode(siDouble); |
| 237 | TEST_ASSERT(longHashCode == boolHashCode); |
| 238 | } |
| 239 | |
| 240 | // Test for entities with same id, different types |
| 241 | void test_edgeAndNode() { |
nothing calls this directly
no test coverage detected