Tests outputting a simple description.
()
| 71 | * Tests outputting a simple description. |
| 72 | */ |
| 73 | @Test |
| 74 | public void testSimpleDesc() |
| 75 | { |
| 76 | final Ability dummy = |
| 77 | TestHelper.makeAbility("dummy", BuildUtilities.getFeatCat(), "Foo"); |
| 78 | final String simpleDesc = "This is a test"; |
| 79 | final Description desc = new Description(simpleDesc); |
| 80 | List<CNAbility> singletonAbility = Collections.singletonList(CNAbilityFactory |
| 81 | .getCNAbility(BuildUtilities.getFeatCat(), Nature.NORMAL, dummy)); |
| 82 | assertEquals(simpleDesc, desc.getDescription(getCharacter(), singletonAbility)); |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Test PREREQs for Desc. |
nothing calls this directly
no test coverage detected