summaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/wrapmacro_runme.php
blob: f32da990e4c3ede040933e61c9625f99b9fb3acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

require "tests.php";
require "wrapmacro.php";

check::functions(array('guint16_swap_le_be_constant', 'maximum'));

check::equal(maximum(2.3, 2.4), 2.4, "maximum() doesn't work");
check::equal(guint16_swap_le_be_constant(0x1234), 0x3412, "GUINT16_SWAP_LE_BE_CONSTANT() doesn't work");

check::done();
?>