public class StoryTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
clearMemory |
static java.lang.String |
clearMemoryIntendedParse |
static java.lang.String |
darfurTest |
static java.lang.String |
if_then_basic |
static java.lang.String |
if_then_basic_intendedParse |
static java.lang.String |
intendedDarfurParse |
Constructor and Description |
---|
StoryTests() |
Modifier and Type | Method and Description |
---|---|
void |
testBasicIfThenRule() |
void |
testBasicParsing() |
void |
testMemoryClearing() |
static void |
testStory(java.lang.String storyPath,
java.lang.String intendedParse)
For now, just use dumb strings to perform regression testing of
story parsing.
|
public static final java.lang.String darfurTest
public static final java.lang.String intendedDarfurParse
public static final java.lang.String if_then_basic
public static final java.lang.String if_then_basic_intendedParse
public static final java.lang.String clearMemory
public static final java.lang.String clearMemoryIntendedParse
public static void testStory(java.lang.String storyPath, java.lang.String intendedParse)
storyPath
- story under test.intendedParse
- asString representation of the intended
parse of the story. This is the string that is generated by the
asStringWithoutIndexes method.public void testBasicParsing()
public void testBasicIfThenRule()
public void testMemoryClearing() throws java.lang.InterruptedException
java.lang.InterruptedException