/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
- using System;
- using rename_pcre_encoderNamespace;
- public class runme {
- static void Main() {
- SomeWidget w = new SomeWidget();
- w.putBorderWidth(17);
- if ( w.getBorderWidth() != 17 )
- throw new Exception(String.Format("Border with should be 17, not {0}",
- w.getBorderWidth()));
- }
- }