From a8d15f425abc5e45c3677988a3e00466f30d1712 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Jun 2011 18:13:37 -0400 Subject: [PATCH] Failing regression test for the halfword emulator. --- test/008-halfword.t | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 test/008-halfword.t diff --git a/test/008-halfword.t b/test/008-halfword.t new file mode 100755 index 0000000..0152812 --- /dev/null +++ b/test/008-halfword.t @@ -0,0 +1,15 @@ +#! /usr/bin/env escript +% This file is part of Jiffy released under the MIT license. +% See the LICENSE file for more information. + +main([]) -> + code:add_pathz("ebin"), + code:add_pathz("test"), + + etap:plan(unknown), + + etap:is(jiffy:decode(<<"1">>) =:= 1, true, "1 =:= 1"), + etap:is(jiffy:decode(<<"1">>) == 1, true, "1 == 1"), + + etap:end_tests(). +