Source

tdd_ios_kiwi / code / HuntTheWumpus / HuntTheWumpusTests / GameSpec.m

Full commit
#import <Kiwi/Kiwi.h>
#import "Game.h"

SPEC_BEGIN(GameSpec)
    describe(@"Game", ^{
        context(@"gameloop", ^{
            it(@"should make sure the screen is clear before drawing", ^{
                Game *game = [[Game alloc]init];
                [[game should] receive:@selector(clearTheScreen)];
                [game startLoop];
            });
            it(@"should gather the input", ^{
                
            });
            it(@"should update the game data", ^{
                
            });
            it(@"should draw the game", ^{});
            it(@"should allow breaking of the game loop", ^{});
        });
        
    });
SPEC_END