Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
f204493b
"packages/KeraLua.1.0.27/lib/MonoAndroid/KeraLua.xml" did not exist on "6b188728f7d54f10aa46cdb3b45008e7a9707f0d"
Commit
f204493b
authored
Nov 22, 2014
by
Isaac Brodsky
Browse files
Correct inequality operator in test
parent
675a2e87
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/LuaTests.cs
View file @
f204493b
...
...
@@ -238,8 +238,8 @@ namespace NLuaTest
lua
.
DoString
(
"TestEnum=luanet.import_type('NLuaTest.Mock.TestEnum')"
);
lua
.
DoString
(
"enum1=TestEnum.ValueA"
);
lua
.
DoString
(
"enum2=TestEnum.ValueB"
);
Assert
.
AreEqual
(
true
,
(
bool
)
lua
.
DoString
(
"return enum1==enum2"
)[
0
]);
Assert
.
AreEqual
(
false
,
(
bool
)
lua
.
DoString
(
"return enum1
!=
enum2"
)[
0
]);
Assert
.
AreEqual
(
true
,
(
bool
)
lua
.
DoString
(
"return enum1
==
enum2"
)[
0
]);
Assert
.
AreEqual
(
false
,
(
bool
)
lua
.
DoString
(
"return enum1
~=
enum2"
)[
0
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment