projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b49004
)
Tests/I18n.php
author
Alan Knowles
<alan@roojs.com>
Wed, 3 Apr 2013 11:00:42 +0000
(19:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 3 Apr 2013 11:00:42 +0000
(19:00 +0800)
Tests/I18n.php
patch
|
blob
|
history
diff --git
a/Tests/I18n.php
b/Tests/I18n.php
index
e69de29
..
ad2d6f9
100644
(file)
--- a/
Tests/I18n.php
+++ b/
Tests/I18n.php
@@
-0,0
+1,23
@@
+<?php
+
+class Pman_Core_Tests_I18n extends Pman
+{
+ function getAuth()
+ {
+ if (!$this->cli) {
+ die("not cli?");
+ }
+
+ }
+ function get()
+ {
+ require_once 'Pman/Core/I18n.php';
+ $i = new Pman_Core_I18n();
+ $ret = $i->convertCurrency(100,"HKD","USD");
+ var_dump($ret);
+
+
+ }
+
+
+}
\ No newline at end of file