This commit is contained in:
Tibo De Peuter 2022-12-20 16:56:22 +01:00
parent 0720f3b719
commit d4fbcda73b
13 changed files with 412 additions and 169 deletions

52
test/ParseGameSpec.hs Normal file
View file

@ -0,0 +1,52 @@
module ParseGameSpec where
import Test.Hspec
import RPGEngine.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