ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
tester.h File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include "../src/ugbc.h"
#include "../src/libs/msc1.h"

Go to the source code of this file.

Functions

void execute6502 (Environment *_environment, char *_asm_filename, Variable *_variable)
void test_fp_conversion_to_bytes (Environment *_environment, double _value, int _expected[4])
void test_fp_conversion_to_double (Environment *_environment, int _value[4], double _expected)
void test_fp_6502_add (Environment *_environment, double _first, double _second, double _expected)
void test_fp_6502_sub (Environment *_environment, double _first, double _second, double _expected)
int suite_fp_6502 (Environment *_environment)
int suite_fp (Environment *_environment)

Function Documentation

◆ execute6502()

void execute6502 ( Environment * _environment,
char * _asm_filename,
Variable * _variable )

Definition at line 3 of file worker_6502.c.

◆ suite_fp()

int suite_fp ( Environment * _environment)

Definition at line 3 of file suite_fp.c.

◆ suite_fp_6502()

int suite_fp_6502 ( Environment * _environment)

Definition at line 3 of file suite_6502_fp.c.

◆ test_fp_6502_add()

void test_fp_6502_add ( Environment * _environment,
double _first,
double _second,
double _expected )

Definition at line 56 of file test_6502_fp.c.

◆ test_fp_6502_sub()

void test_fp_6502_sub ( Environment * _environment,
double _first,
double _second,
double _expected )

Definition at line 126 of file test_6502_fp.c.

◆ test_fp_conversion_to_bytes()

void test_fp_conversion_to_bytes ( Environment * _environment,
double _value,
int _expected[4] )

Definition at line 3 of file test_fp.c.

◆ test_fp_conversion_to_double()

void test_fp_conversion_to_double ( Environment * _environment,
int _value[4],
double _expected )

Definition at line 18 of file test_fp.c.