public void test_getRandom_test1() {
        System.out.println("test_getRandom_test1");
        int decimalPlaces = 0;
        BigDecimal expResult = null;
        BigDecimal result = null;
        long seed;
        int numberOfRandomInstances;
        Generic_BigDecimal a_Generic_BigDecimal = new Generic_BigDecimal();
        seed = 0L;
        // For multiple uses the initialised Random[]
        // a_Generic_BigDecimal._RandomArray it is intended to be re-used.
        numberOfRandomInstances = 1000;
        a_Generic_BigDecimal.init_RandomArrayMinLength(
                numberOfRandomInstances,
                seed);
        decimalPlaces = 1000;
        expResult = new BigDecimal(
                "0.058427164938625116053827514073627362958427064938847316953827"
                + "504950497261958417066150847306953817281750397261948349286150"
                + "837206959584170649286150069538175049726172619483170639288372"
                + "069528175039403972519483160561408372059428172716403962519473"
                + "392851408362059494831605392851400594281740397251625194731605"
                + "382783620594271640394938625184731695514073620584271627064938"
                + "615084733827504973629584847316953827504905842716493862516150"
                + "847306953817736295842706493849286150837206955049726195841706"
                + "170639286140837228175039726194831706392851408372281740397261"
                + "948394831605392851400594281740396251625184731605382773620594"
                + "271640394938625184730695514073629584271616053827514073622716"
                + "403962519473847306953827504905842716493862516150847306952817"
                + "736295841706493839286150837206955049726195841706069538175049"
                + "726127064938615084738372069528175039958417064928615061408372"
                + "059428177261948317063928392851408362059440397251948316050594"
                + "281740397251170639286140837283620594271640399483160539285140"
                + "5140736205842716625194731605382738275049");
//        BigDecimal smallProbability = new BigDecimal("0.0001");
//        for (int i = 0; i < 10000; i ++) {
//            result = Generic_BigDecimal.getRandom(
//                    a_Generic_BigDecimal, decimalPlaces);
//            if (result.compareTo(smallProbability) == -1){
//                System.out.println("result " + result.toPlainString());
//            }
//        }
        result = Generic_BigDecimal.getRandom(
                a_Generic_BigDecimal, decimalPlaces);
        printTestGetRandom_Random_int(
                a_Generic_BigDecimal, decimalPlaces, result);
        assertEquals(expResult, result);
    }