How do I write the TDD for "is sprite added or not" in the scene for cocos2d-x in eclipse. Here is my code
CCSprite *sprite =null;
//adding sprite code
sprite = new CCSprite();
sprite->initWithSpriteFrameName(“abc.png");
this->addChild(sprite);
Any blog or help in right direction will be appreciated. Thanks