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
bb09d303
Commit
bb09d303
authored
Nov 22, 2014
by
Isaac Brodsky
Browse files
Accidentally swapped the results
parent
f204493b
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/LuaTests.cs
View file @
bb09d303
...
...
@@ -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