dcapwell commented on code in PR #3169:
URL: https://github.com/apache/cassandra/pull/3169#discussion_r1518050873


##########
test/unit/org/apache/cassandra/db/marshal/AbstractTypeTest.java:
##########
@@ -740,4 +801,927 @@ public String toString()
                    '}';
         }
     }
+
+    /**
+     * This test case checks the output of is*CompatibleWith methods for 
primitive types - whether the output is
+     * consistent with the assumed relation defined in this test class 
(expected compatibility entered manually).
+     */
+    @Test
+    public void testAssumedPrimitiveTypesCompatibility()
+    {
+        testAssumedPrimitiveTypesCompatibility(typesCompatibility);
+        if (typesCompatibility.prev != null)
+            testAssumedPrimitiveTypesCompatibility(typesCompatibility.prev);
+    }
+
+    public void testAssumedPrimitiveTypesCompatibility(TypesCompatibility 
typesCompatibility)
+    {
+        SoftAssertions assertions = new SoftAssertions();

Review Comment:
   TIL; this is very useful ^_^



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to