2018-11-21 19:59:27 +00:00
|
|
|
using Upsilon.Evaluator;
|
|
|
|
using Xunit;
|
|
|
|
|
|
|
|
namespace UpsilonTests.StandardLibraryTests
|
|
|
|
{
|
2018-11-23 11:55:28 +00:00
|
|
|
public class BasicFunctionsTests : TestClass
|
2018-11-21 19:59:27 +00:00
|
|
|
{
|
2018-11-23 11:55:28 +00:00
|
|
|
public BasicFunctionsTests(StaticScriptFixture fix) : base(fix)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-11-21 19:59:27 +00:00
|
|
|
[Fact]
|
|
|
|
public void Assert()
|
|
|
|
{
|
2018-11-23 11:55:28 +00:00
|
|
|
new Script("assert(true)", BoundScope, StaticScope).Evaluate();
|
2018-11-21 19:59:27 +00:00
|
|
|
}
|
2018-11-23 11:55:28 +00:00
|
|
|
|
2018-11-21 19:59:27 +00:00
|
|
|
}
|
|
|
|
}
|