Skip to content

Add test for parsing named function #5976

Add test for parsing named function

Add test for parsing named function #5976

GitHub Actions / Test Report failed Oct 24, 2024 in 0s

60 passed, 4 failed and 0 skipped

Tests failed

❌ junit_tests.xml

64 tests were completed in 0ms with 60 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Dynamics 60✅ 4❌ 0ms

❌ Dynamics

Dynamics.Parser
  ✅ Integer Literal
  ✅ Fun
  ✅ String Literal
  ✅ Bool Literal
  ✅ Empty Hole
  ✅ Var
  ✅ Parens
  ✅ BinOp
  ✅ Let
  ✅ Tuple
  ✅ Match
  ✅ If
  ✅ Deferred Ap
  ✅ Cons
  ✅ ListLit
  ❌ Constructor
	Parse error at: line 1, column 1
  ✅ Type Alias
  ✅ Test
  ❌ Filter
	Alcotest assertion failure
  ✅ List Concat
  ❌ Integer Ops
	Parse error at: line 1, column 27
  ❌ named_function
	Parse error at: line 1, column 11
Dynamics.Statics
  ✅ Function with unknown param
  ✅ Function with known param
  ✅ bifunction
  ✅ function application
  ✅ function deferral
Dynamics.Evaluator
  ✅ Integer literal
  ✅ Integer sum
Dynamics.Elaboration tests
  ✅ Single integer
  ✅ Empty hole
  ✅ Free variable
  ✅ Let expression
  ✅ Inconsistent binary operation
  ✅ Consistent if statement
  ✅ An unapplied function
  ✅ Application of function on free variable
  ✅ Inconsistent case statement
  ✅ Let expression for a function
  ✅ Function application with a deferred argument
Dynamics.Menhir elaboration tests
  ✅ Filter test (menhir)
  ✅ Test failed (menhir)
  ✅ Built-in function (menhir)
  ✅ Dynamic error hole (menhir)
  ✅ Constructor test (menhir)
  ✅ Failed cast test (menhir)
  ✅ Type ap test (menhir)
  ✅ Let expression for a tuple (menhir)
  ✅ Single integer (menhir)
  ✅ Let expression for a function (menhir)
  ✅ Empty hole (menhir)
  ✅ Free var (menhir)
  ✅ Bin op (menhir)
  ✅ Inconsistent case (menhir)
  ✅ ap fun (menhir)
  ✅ Consistent if (menhir)
  ✅ Undefined test (menhir)
  ✅ List exp (menhir)
  ✅ Invalid test (menhir)
  ✅ Type alias test (menhir)
  ✅ List concat test (menhir)
  ✅ Unary operation test (menhir)
  ✅ Sequence test (menhir)
  ✅ FixF test (menhir)

Annotations

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Parser ► Constructor

Failed test found in:
  junit_tests.xml
Error:
  Parse error at: line 1, column 1
Raw output
Parse error at: line 1, column 1

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Parser ► Filter

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Does not match MakeTerm

   Expected: `{ ids = <opaque>; copied = <opaque>;
  term =
  (Filter (
     (Filter
        { pat = { ids = <opaque>; copied = <opaque>; term = (Int 3) };
          act = (Eval, One) }),
     { ids = <opaque>; copied = <opaque>; term = (Int 3) }))
  }'

   Received: `{ ids = <opaque>; copied = <opaque>;
  term =
  (Filter (
     (Filter
        { pat = { ids = <opaque>; copied = <opaque>; term = (Int 3) };
          act = (Eval, All) }),
     { ids = <opaque>; copied = <opaque>; term = (Int 3) }))
  }'

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Parser ► Integer Ops

Failed test found in:
  junit_tests.xml
Error:
  Parse error at: line 1, column 27
Raw output
Parse error at: line 1, column 27

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Parser ► named_function

Failed test found in:
  junit_tests.xml
Error:
  Parse error at: line 1, column 11
Raw output
Parse error at: line 1, column 11