Feature: Basic Operation

This is a test of the basic operation of the Brilliant compiler.
It will likely go away once we get the compiler generally working as expected.


Scenario: Exit code
  Given the program:
    """
    exit(123)
    """
  When the program is executed
  Then the exit code should be 123


Scenario: String literals
  Given the program:
    """
    puts("abc")
    """
  When the program is executed
  Then the exit code should be 0
  And the output should be:
    """
    abc
    """

Feature: Basic Operation

This is a test of the basic operation of the Brilliant compiler.
It will likely go away once we get the compiler generally working as expected.


Scenario: Exit code
  Given the program:
    """
    exit(123)
    """
  When the program is executed
  Then the exit code should be 123


Scenario: String literals
  Given the program:
    """
    puts("Hello, World!")
    """
  When the program is executed
  Then the exit code should be 0
  And the output should be:
    """
    Hello, World!
    """

Add string literals and the puts() function.
Add string literals and the puts() function.
