User Manual For CYCLONE
FX
Programmers
111
11.6.1.6 Press the DO TEST button to test Sample(ascii) characters against all tests.
When developing Barcode tests, it is necessary to frequently test to assure that the tests being
generated corrects select the appropriate standalone programming (SAP) image. Clicking on the
DO TEST
control area of this program, causes the
CharTest(TYPE):
and both Range tests to be run if they exist.
Figure 11-19: Program Control Area
To pass the test, the Char Test and at least one of the Range tests must pass. If the test passed,
the, the background color of
DO TEST
is changed to green. It is possible for
DO TEST
to be green
even if one of the
Range
tests is red. Shown in Figure 2.6b is the result of changing the numeric
characters to “05444” and clicking on
DO TEST
Button.
Figure 11-20: Passed Test with only One Range Test Passed
Note that the
DO TEST
button is green indicating that the test passed. Also, note that the
Range-
1
button is red which means that that the
Range-1
test failed but didn’t cause the overall test to
fail. Additionally,
Range-1
character 22, “
3
”, failed the upper bound test. See Section 4. On how
Range Tests are conducted.
In
Range-2
test passed since when the first character tested (character 20, “5”)
was greater than the lower bound (“0”) and less than the upper bound (“9”).
Shown in
is a test of a slightly different sample which failed on many things.