Again, "if either is NULL, set both" is confusing (albeit correct) because the reader is bound to think "but what if only one is NULL ?"  Better to test one and assert the other is NULL; it simplifies the production code and makes the logic clearer to a reader.