Commits

Palmer, 2E0EOL  committed 4293f10 Draft

Add a logical math test

  • Participants
  • Parent commits 335b0fe
  • Branches develop

Comments (0)

Files changed (1)

 
 package main;
 require 'dayboundump';
-use Test::More tests => 10;
+use Test::More tests => 11;
 use strict;
 use warnings;
 use diagnostics;
 	is(HexToInt('d'), 13, 'HexToInt(d)');
 	is(HexToInt('e'), 14, 'HexToInt(e)');
 	is(HexToInt('f'), 15, 'HexToInt(f)');
+
+	is((HexToInt('f') * 16) + HexToInt('f'), 255, 'HexToInt math test');
 }
 
 sub t_main()