Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (38 sloc) 1.064 kb
28da710 @markrendle Fix for issue #163
authored
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace Simple.Data.SqlTest
7 {
8 using NUnit.Framework;
9
10 [TestFixture]
11 public class WeirdTypeTest
12 {
13 [TestFixtureSetUp]
14 public void Setup()
15 {
16 DatabaseHelper.Reset();
17 }
18
19 [Test]
20 public void TestInsertOnGeography()
21 {
22 var db = DatabaseHelper.Open();
23 var actual = db.GeographyTest.Insert(Description: "Test");
24 Assert.IsNotNull(actual);
25 }
26 [Test]
27 public void TestInsertOnGeometry()
28 {
29 var db = DatabaseHelper.Open();
30 var actual = db.GeometryTest.Insert(Description: "Test");
31 Assert.IsNotNull(actual);
32 }
33 [Test]
34 public void TestInsertOnHierarchyId()
35 {
36 var db = DatabaseHelper.Open();
37 var actual = db.HierarchyIdTest.Insert(Description: "Test");
38 Assert.IsNotNull(actual);
39 }
40 }
41 }
Something went wrong with that request. Please try again.