~ubuntu-branches/ubuntu/trusty/liblas/trusty-proposed

« back to all changes in this revision

Viewing changes to csharp-new/liblas_swig_test/TestGuid.cs

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2014-01-05 17:00:29 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140105170029-ddtp0j63x5jvck2u
Tags: 1.7.0+dfsg-2
Fixed missing linking of system boost component.
(closes: #733282)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections.Generic;
 
3
using System.Linq;
 
4
using System.Text;
 
5
 
 
6
using Liblas;
 
7
using System.Diagnostics;
 
8
 
 
9
namespace swig_test
 
10
{
 
11
   static internal class TestGuid
 
12
   {
 
13
      static private void Test(guid g)
 
14
      {
 
15
         string s = g.to_string();
 
16
         Debug.Assert(s == "00000000-0000-0000-0000-000000000000");
 
17
      }
 
18
 
 
19
      static public void Test_A(guid g)
 
20
      {
 
21
         Test(g);
 
22
      }
 
23
      
 
24
      static public void Test_B(guid g)
 
25
      {
 
26
         Test(g);
 
27
      }
 
28
 
 
29
      static public void Test_T(guid guid)
 
30
      {
 
31
         string s = guid.to_string();
 
32
         Debug.Assert(s == "D59B08E7-79EE-47E4-AAE1-2B8DE4B87331".ToLower());
 
33
      }
 
34
   }
 
35
}