public void Render()
 {
     MockRenderer.TextAtDelegate expText = delegate(int callnumber, string text, Uniform x, Uniform y, Uniform height, Anchor anchor) {
     if (callnumber == 0)
     {
       Assert.AreEqual("[Press Fire]", text);
     }
       };
       MockRenderer.MeshAtDelegate expMesh = delegate(int cn, Mesh mesh, Matrix4 transform)
       {
     //Assert.AreEqual(Mesh.GreenPlane, mesh);
       };
       MockRenderer renderer = new MockRenderer(expText, expMesh);
       s.Render(renderer);
       Assert.IsTrue(renderer.TextAtCalled);
       //Assert.IsTrue(renderer.MeshAtCalled);
 }
 public void Render()
 {
     MockRenderer renderer = new MockRenderer(
     delegate(
       int cn,
       string text,
       Uniform x,
       Uniform y,
       Uniform height,
       Anchor anchor)
     {
       if (cn == 0)
     Assert.IsTrue(text == "Game Over");
     },
     null);
       s.Render(renderer);
       Assert.IsTrue(renderer.TextAtCalled, null);
 }