# WebLogo: tests

### · about · create · examples ·

A working WebLogo implementation should pass all of these tests

TODO:Control checkboxes with hidden things...

Relative Entropy Test
  The entropy should be 2 bits, 1 bit, 0 bits (The small sample correction should be turned off.)
Title And Labels Test
  Replace and display x-label, y-label and title. (Also, try turning off "show x axis" and "show y axis", and changing the y-axis bits)
Format Test
  Ensure that this logo can be created in each of the avaliable formats Format:
Test Alphabetical Order
  Each chracter in each stack has the same entropy. The letters should be alphabetized, top down. The entropy should be 2 bits, 1 bit, 0 bits (The small sample correction should been turned off.) (NA) (AA)
One Single Column
  Should not die just because there is only 1 stack.
Small Sample Correction Test
  The samples per column decrease from 32 (left) to 1 (right). Before the small sample correction the relative entropy of each stack is 2 bits. Since the errror bars are twice the SSC the top of each error bar should line up at 2 bits (less a very small margin.) Errbar