This repository has been archived on 2023-06-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022FuncProg-project3-RPGEn.../test/ParsedToGameSpec.hs
Tibo De Peuter 83659e69b4 #18 #14 Inital parser commit
Added basic parser functionality & tests for these functionalites.
Split tests in several files
2022-12-17 23:14:04 +01:00

52 lines
No EOL
1.2 KiB
Haskell

module ParsedToGameSpec where
import Test.Hspec
import Parse
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