From b5abc465df4c0b62b625d5052711b9405efd4e37 Mon Sep 17 00:00:00 2001 From: sc0Vu Date: Wed, 7 Feb 2018 17:02:55 +0800 Subject: [PATCH] NumberFormatterTest --- test/unit/NumberFormatterTest.php | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 test/unit/NumberFormatterTest.php diff --git a/test/unit/NumberFormatterTest.php b/test/unit/NumberFormatterTest.php new file mode 100644 index 0000000..5cbe983 --- /dev/null +++ b/test/unit/NumberFormatterTest.php @@ -0,0 +1,40 @@ +formatter = new NumberFormatter; + } + + /** + * testFormat + * + * @return void + */ + public function testFormat() + { + $formatter = $this->formatter; + + $number= $formatter->format('123'); + $this->assertEquals($number, 123); + } +} \ No newline at end of file