public class AFDTest
extends java.lang.Object
DataGenerator to provide
AFD.
Created: Tue Sep 16 22:22:49 2014DataGenerator| Constructor and Description |
|---|
AFDTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Setup for the tests
|
void |
testRecognizeAFD1()
Tests for
reconnaitre for AFD1 (it only
recongnizes the empty word). |
void |
testRecognizeAFD2()
Tests for
reconnaitre for AFD2 (it only
recognizes the empty word and words containing only a). |
void |
testRecognizeAFD3()
Tests for
reconnaitre for AFD3 (it only
recognizes the empty word and words containing only a
and b). |
void |
testRecognizeAFD4()
Tests for
reconnaitre for AFD4 (it only
recognizes the word ab). |
void |
testRecognizeAFD5()
Tests for
reconnaitre for AFD5 (it only
recognizes the words starting with ab and continuing
only with c). |
void |
testRecognizeAFD6()
Tests for
reconnaitre for AFD6 (it only
recognizes the word be and the words starting with ac
and continuing only with d). |
void |
testRecognizeEmptyAFD()
Tests for
reconnaitre for empty AFD (it does
not recognize anything!). |
void |
testToStringAFD1()
Test for
toString method for AFD1. |
void |
testToStringAFD2()
Test for
toString method for AFD2. |
void |
testToStringAFD3()
Test for
toString method for AFD3. |
void |
testToStringAFD4()
Test for
toString method for AFD4. |
void |
testToStringAFD5()
Test for
toString method for AFD5. |
void |
testToStringAFD6()
Test for
toString method for AFD6. |
void |
testToStringEmptyAFD()
Test for
toString method for empty automata. |
public void setUp()
public void testRecognizeEmptyAFD()
reconnaitre for empty AFD (it does
not recognize anything!).public void testRecognizeAFD1()
reconnaitre for AFD1 (it only
recongnizes the empty word).public void testRecognizeAFD2()
reconnaitre for AFD2 (it only
recognizes the empty word and words containing only a).public void testRecognizeAFD3()
reconnaitre for AFD3 (it only
recognizes the empty word and words containing only a
and b).public void testRecognizeAFD4()
reconnaitre for AFD4 (it only
recognizes the word ab).public void testRecognizeAFD5()
reconnaitre for AFD5 (it only
recognizes the words starting with ab and continuing
only with c).public void testRecognizeAFD6()
reconnaitre for AFD6 (it only
recognizes the word be and the words starting with ac
and continuing only with d).public void testToStringEmptyAFD()
toString method for empty automata.
Tabulations etc. must be respected!public void testToStringAFD1()
toString method for AFD1. Tabulations etc.
must be respected!public void testToStringAFD2()
toString method for AFD2. Order of
writing for transitions is not important, but tabulations etc.
must be respected!public void testToStringAFD3()
toString method for AFD3. Order of
writing for transitions is not important, but tabulations etc.
must be respected!public void testToStringAFD4()
toString method for AFD4. Order of
writing for transitions is not important, but tabulations etc.
must be respected!public void testToStringAFD5()
toString method for AFD5. Order of
writing for transitions is not important, but tabulations etc.
must be respected!public void testToStringAFD6()
toString method for AFD6. Order of
writing for transitions is not important, but tabulations etc.
must be respected!