Commit bb09d303 authored by Isaac Brodsky's avatar Isaac Brodsky
Browse files

Accidentally swapped the results

parent f204493b
...@@ -238,8 +238,8 @@ namespace NLuaTest ...@@ -238,8 +238,8 @@ namespace NLuaTest
lua.DoString("TestEnum=luanet.import_type('NLuaTest.Mock.TestEnum')"); lua.DoString("TestEnum=luanet.import_type('NLuaTest.Mock.TestEnum')");
lua.DoString("enum1=TestEnum.ValueA"); lua.DoString("enum1=TestEnum.ValueA");
lua.DoString("enum2=TestEnum.ValueB"); lua.DoString("enum2=TestEnum.ValueB");
Assert.AreEqual(true, (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]); Assert.AreEqual(false, (bool)lua.DoString("return enum1 == enum2")[0]);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment