 
   test 'numeral currency formatting', () ->
     tests = [
-      [1000.234,'$0,0.00','$1,000.23']
-      [1001,'$ 0,0.[00]','$ 1,001']
-      [1000.234,'0,0.00 $','1,000.23 $']
-      [-1000.234,'($0,0)','($1,000)']
-      [-1000.234,'(0,0$)','(1,000$)']
-      [-1000.234,'$0.00','-$1000.23']
-      [1230974,'($0.00 a)','$1.23 m']
-      [-1000.234,'$ (0,0)','$ (1,000)']
-      [-1000.234,'$(0,0)','$(1,000)']
-      [-1000.234,'$ (0,0.00)','$ (1,000.23)']
-      [-1000.234,'$(0,0.00)','$(1,000.23)']
-      [-1000.238,'$(0,0.00)','$(1,000.24)']
-      [-1000.234,'$-0,0','$-1,000']
-      [-1000.234,'$ -0,0','$ -1,000']
-      [1000.234,'$ (0,0)','$ 1,000']
-      [1000.234,'$(0,0)','$1,000']
-      [1000.234,'$ (0,0.00)','$ 1,000.23']
-      [1000.234,'$(0,0.00)','$1,000.23']
-      [1000.238,'$(0,0.00)','$1,000.24']
-      [1000.234,'$-0,0)','$1,000']
-      [1000.234,'$ -0,0','$ 1,000']
+      [1000.234,  '$0,0.00',    '$1,000.23']
+      [1001,      '$ 0,0.[00]', '$ 1,001']
+      [1000.234,  '0,0.00 $',   '1,000.23 $']
+      [-1000.234, '($0,0)',     '($1,000)']
+      [-1000.234, '(0,0$)',     '(1,000$)']
+      [-1000.234, '$0.00',      '-$1000.23']
+      [1230974,   '($0.00 a)',  '$1.23 m']
+      [-1000.234, '$ (0,0)',    '$ (1,000)']
+      [-1000.234, '$(0,0)',     '$(1,000)']
+      [-1000.234, '$ (0,0.00)', '$ (1,000.23)']
+      [-1000.234, '$(0,0.00)',  '$(1,000.23)']
+      [-1000.238, '$(0,0.00)',  '$(1,000.24)']
+      [-1000.234, '$-0,0',      '$-1,000']
+      [-1000.234, '$ -0,0',     '$ -1,000']
+      [1000.234,  '$ (0,0)',    '$ 1,000']
+      [1000.234,  '$(0,0)',     '$1,000']
+      [1000.234,  '$ (0,0.00)', '$ 1,000.23']
+      [1000.234,  '$(0,0.00)',  '$1,000.23']
+      [1000.238,  '$(0,0.00)',  '$1,000.24']
+      [1000.234,  '$-0,0)',     '$1,000']
+      [1000.234,  '$ -0,0',     '$ 1,000']
     ]
 
     for [value, format, result] in tests


  test 'numeral percentage formatting', () ->
    tests = [
      [1,'0%','100%']
      [0.974878234,'0.000%','97.488%']
      [-0.43,'0 %','-43 %']
      [0.43,'(0.00[0]%)','43.00%']
    ]

    for [value, format, result] in tests


  test 'numeral byte formatting', () ->
    tests = [
      [100,                                     '0b',      '100B']
      [1024*2,                                  '0 b',     '2 KB']
      [1024*1024*5,                             '0b',      '5MB']
      [1024*1024*1024*7.343,                    '0.[0] b', '7.3 GB']
      [1024*1024*1024*1024*3.1536544,           '0.000b',  '3.154TB']
      [1024*1024*1024*1024*1024*2.953454534534, '0b',      '3PB']
    ]

    for [value, format, result] in tests
