getTex() public method

public getTex ( ) : Texture2D
return Texture2D
Example #1
0
 public void LoadContentTest_Spr()
 {
     Game1 game = new Game1();
     Sprite target = new Sprite();
     ContentManager theContentManager = game.Content;
     string theAssetName = "test";
     target.LoadContent(theContentManager, theAssetName);
     Assert.IsNotNull(target.getTex());
 }