PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/csharp/rename_pcre_encoder_runme.cs

#
C# | 12 lines | 11 code | 1 blank | 0 comment | 2 complexity | 386db6366c49b8ccd114691238dbf3d3 MD5 | raw file
 1using System;
 2using rename_pcre_encoderNamespace;
 3
 4public class runme {
 5  static void Main() {
 6    SomeWidget w = new SomeWidget();
 7    w.putBorderWidth(17);
 8    if ( w.getBorderWidth() != 17 )
 9      throw new Exception(String.Format("Border with should be 17, not {0}",
10                                        w.getBorderWidth()));
11  }
12}