|
|
|
|
@ -7,14 +7,14 @@ public class EncodingsTests : GeneratorTestFixture
@@ -7,14 +7,14 @@ public class EncodingsTests : GeneratorTestFixture
|
|
|
|
|
[Test] |
|
|
|
|
public void TestFoo() |
|
|
|
|
{ |
|
|
|
|
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
|
|
|
|
|
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)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |