Rev 5 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5 | Rev 13 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | * @throws CRTNotSolveableException |
36 | * @throws CRTNotSolveableException |
37 | * @throws RemainderNotSmallerThanModulusException |
37 | * @throws RemainderNotSmallerThanModulusException |
38 | */ |
38 | */ |
39 | 39 | ||
40 | @Test |
40 | @Test |
41 | public void chineseRemainderTest() throws CRTNotSolveableException, |
41 | public void chineseRemainderTest() throws CRTException { |
42 | RemainderNotSmallerThanModulusException { |
- | |
43 | BigInteger x; |
42 | BigInteger x; |
44 | 43 | ||
45 | // 45 2 65 3 -> Rest muss kleiner sein als Modul |
44 | // 45 2 65 3 -> Rest muss kleiner sein als Modul |
46 | try { |
45 | try { |
47 | x = MathUtils2.chineseRemainder(new BigInteger("45"), |
46 | x = MathUtils2.chineseRemainder(new BigInteger("45"), |