summaryrefslogtreecommitdiff
path: root/test/parser.spec.ts
blob: 63ec65b6108df772bc5dc8255ee8f95036a804de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { expect, test } from 'bun:test';
import { TestPrograms } from './programs';
import { Parser } from '@/parser';

test('fibonacci program', () => {
  const parser = new Parser(TestPrograms.Fibonacci);
  const result = parser.parse();

  console.log(result);

  expect(result.errs).toBeEmpty();
});