示例#1
0
        public void stringRGBA()
        {
            this.InitSdl();

            //Random rand = new Random();
            int result = SdlGfx.stringRGBA(
                surfacePtr, 100, 100, "SDL.NET", 200, 0, (byte)0, 254);

            result = Sdl.SDL_Flip(surfacePtr);
            Thread.Sleep(sleepTime);
            Assert.AreEqual(result, 0);
            this.Quit();
        }