bb.science
Class Lfsr.UnitTest

java.lang.Object
  extended by bb.science.Lfsr.UnitTest
Enclosing class:
Lfsr

public static class Lfsr.UnitTest
extends Object

See the Overview page of the project's javadocs for a general description of this unit test class.


Constructor Summary
Lfsr.UnitTest()
           
 
Method Summary
private  void checkPeriod(int n, String mode)
           
private  void diagnosePeriod(long period, int n)
           
 void test_period()
           
private  String toBinaryString(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lfsr.UnitTest

public Lfsr.UnitTest()
Method Detail

test_period

public void test_period()

checkPeriod

private void checkPeriod(int n,
                         String mode)

toBinaryString

private String toBinaryString(int i)

diagnosePeriod

private void diagnosePeriod(long period,
                            int n)