There is a JUnit 5 test class with already four implemented graphs to test the Karger's algorithm with known graphs with known expected results. Each test is made in sequential and multithreading mode ...
Abstract: The minimum graph cut and minimum s-t-cut problems are important primitives in the modeling of combinatorial problems in computer science, including in computer vision and machine learning.
Karger, David (1993). "Global Min-cuts in RNC and Other Ramifications of a Simple Mincut Algorithm". Proceedings of the 4th Annual ACM-SIAM Symposium on Discrete Algorithms.