@@ -0,0 +1,1209 @@
+package com.github.alexeyr.pcg;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Apublic class Pcg32CDemoComparison %7B%0A    @Test%0A    public void compareWithCBasicDemo() %7B%0A        Pcg32 rng = new Pcg32(42, 54);%0A%0A        // pcg32-global-demo output:%0A        //        Round 1:%0A        //        32bit: 0xa15c02b7 0x7b47f409 0xba1d3330 0x83d2f293 0xbfa4784b 0xcbed606e%0A        //        Coins: HHTTTHTHHHTHTTTHHHHHTTTHHHTHTHTHTTHTTTHHHHHHTTTTHHTTTTTHTTTTTTTHT%0A        //        Rolls: 3 4 1 1 2 2 3 2 4 3 2 4 3 3 5 2 3 1 3 1 5 1 4 1 5 6 4 6 6 2 6 3 3%0A        //        Cards: Qd Ks 6d 3s 3d 4c 3h Td Kc 5c Jh Kd Jd As 4s 4h Ad Th Ac Jc 7s Qs%0A        //        2s 7h Kh 2d 6c Ah 4d Qh 9h 6s 5s 2c 9c Ts 8d 9s 3c 8c Js 5d 2h 6h%0A        //        7d 8s 9d 5h 8h Qc 7c Tc%0A        // we only compare 32bit, since the algorithm for nextInt(n) is currently different%0A%0A        int%5B%5D expectedInts = new int%5B%5D %7B 0xa15c02b7, 0x7b47f409, 0xba1d3330, 0x83d2f293, 0xbfa4784b, 0xcbed606e %7D;%0A%0A        int%5B%5D actualInts = new int%5BexpectedInts.length%5D;%0A%0A        for (int i = 0; i %3C expectedInts.length; i++) %7B%0A            actualInts%5Bi%5D = rng.nextInt();%0A        %7D%0A%0A        Assert.assertArrayEquals(expectedInts, actualInts);%0A    %7D%0A%7D%0A

Add test to compare output with pcg32-global-demo