mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
526 B
20 lines
526 B
using NUnit.Framework; |
|
using Foo = Encodings.Foo; |
|
|
|
[TestFixture] |
|
public class EncodingsTests |
|
{ |
|
[Test] |
|
public void TestFoo() |
|
{ |
|
using (var foo = new Foo()) |
|
{ |
|
const string georgia = "საქართველო"; |
|
foo.Unicode = georgia; |
|
Assert.That(foo.Unicode, Is.EqualTo(georgia)); |
|
|
|
// TODO: move this, it has nothing to do with Unicode, it's here only not to break the CLI branch |
|
Assert.That(foo[0], Is.EqualTo(5)); |
|
} |
|
} |
|
} |