mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
ConstEval test fix
This commit is contained in:
parent
65c0f10cba
commit
8eedd0f9f1
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ namespace Tests
|
||||||
public static void TestBasics()
|
public static void TestBasics()
|
||||||
{
|
{
|
||||||
Test.Assert(ClassA.cVal0 == 123);
|
Test.Assert(ClassA.cVal0 == 123);
|
||||||
Test.Assert(ClassA.cVal0 == 1.23);
|
Test.Assert(Math.Abs(ClassA.cVal1 - 1.23) < 0.0001);
|
||||||
|
|
||||||
const int fac = Factorial(8);
|
const int fac = Factorial(8);
|
||||||
Test.Assert(fac == 40320);
|
Test.Assert(fac == 40320);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue