/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

  1. using System;
  2. using rename_pcre_encoderNamespace;
  3. public class runme {
  4. static void Main() {
  5. SomeWidget w = new SomeWidget();
  6. w.putBorderWidth(17);
  7. if ( w.getBorderWidth() != 17 )
  8. throw new Exception(String.Format("Border with should be 17, not {0}",
  9. w.getBorderWidth()));
  10. }
  11. }