Fix expected/actual order
This commit is contained in:
parent
fc8337df46
commit
825f707437
1 changed files with 3 additions and 3 deletions
|
|
@ -65,7 +65,7 @@ namespace Raylib_cs.Tests
|
||||||
|
|
||||||
for (int i = 0; i < input.Length; i++)
|
for (int i = 0; i < input.Length; i++)
|
||||||
{
|
{
|
||||||
Assert.Equal(codepoints1[i], input[i]);
|
Assert.Equal(input[i], codepoints1[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -74,7 +74,7 @@ namespace Raylib_cs.Tests
|
||||||
{
|
{
|
||||||
int byteSize = 0;
|
int byteSize = 0;
|
||||||
string text = Raylib.CodepointToUTF8(224, ref byteSize).ToString();
|
string text = Raylib.CodepointToUTF8(224, ref byteSize).ToString();
|
||||||
Assert.Equal(text, "à");
|
Assert.Equal("à", text);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
|
@ -86,7 +86,7 @@ namespace Raylib_cs.Tests
|
||||||
int[] codepoints1 = Raylib.LoadCodepoints(input, ref count);
|
int[] codepoints1 = Raylib.LoadCodepoints(input, ref count);
|
||||||
|
|
||||||
string text = Raylib.TextCodepointsToUTF8(codepoints1, codepoints1.Length).ToString();
|
string text = Raylib.TextCodepointsToUTF8(codepoints1, codepoints1.Length).ToString();
|
||||||
Assert.Equal(text, input);
|
Assert.Equal(input, text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue