public IEnumerator CThemeGetRandomImages() { // Use the Assert class to test conditions. // yield to skip a frame //List<ImageHitRound> imagedata = new List<ImageHitRound>(); yield return(null); CTheme temp = new CTheme("xxx", new List <TImage>()); temp.sprites = new Sprite[10]; List <TImage> list = temp.getrandimages(10); Assert.IsTrue(list != null, "No getimages..."); }