52 lines
No EOL
1.2 KiB
Haskell
52 lines
No EOL
1.2 KiB
Haskell
module ParsedToGameSpec where
|
|
|
|
import Test.Hspec
|
|
import RPGEngine.Internals.Parse.StructureElement
|
|
|
|
spec :: Spec
|
|
spec = do
|
|
describe "Game" $ do
|
|
it "TODO: Simple game" $ do
|
|
pending
|
|
it "TODO: More complex game" $ do
|
|
pending
|
|
it "TODO: Game with multiple levels" $ do
|
|
pending
|
|
|
|
describe "Player" $ do
|
|
it "TODO: Simple player" $ do
|
|
pending
|
|
|
|
describe "Inventory" $ do
|
|
it "TODO: Empty inventory" $ do
|
|
pending
|
|
it "TODO: Singleton inventory" $ do
|
|
pending
|
|
it "TODO: Filled inventory" $ do
|
|
pending
|
|
|
|
describe "Items" $ do
|
|
it "TODO: Simple item" $ do
|
|
pending
|
|
-- Check id
|
|
-- Check x
|
|
-- Check y
|
|
-- Check name
|
|
-- Check description
|
|
-- Check useTimes
|
|
-- Check value
|
|
-- Check actions
|
|
|
|
describe "Actions" $ do
|
|
it "TODO: Simple action" $ do
|
|
pending
|
|
|
|
describe "Entities" $ do
|
|
it "TODO: Simple entity" $ do
|
|
pending
|
|
|
|
describe "Level" $ do
|
|
it "TODO: Simple layout" $ do
|
|
pending
|
|
it "TODO: Complex layout" $ do
|
|
pending |