<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/wp.xsl" />
<xsl:call-template name="wp-size-format">
<xsl:with-param name="bytes" select="$bytes" />
<xsl:with-param name="decimals" select="$decimals" />
</xsl:call-template>
TEST 1 : PASS
wp-size-format :
– bytes = 1024
result :
TEST 2 : PASS
wp-size-format :
– bytes = 1234567890
result :
TEST 3 : PASS
wp-size-format :
– bytes = 12345678901234567890
– decimals = 1
result :