From 3a1f6a06cc706b35d9d6086ffbf5135cbf42bf8a Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Thu, 30 Jun 2011 14:39:52 +0000 Subject: SkStringPrintf helper fucntion + a new unit test for it. git-svn-id: http://skia.googlecode.com/svn/trunk@1766 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/StringTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/StringTest.cpp') diff --git a/tests/StringTest.cpp b/tests/StringTest.cpp index 270ccfd3a4..02510d56dc 100644 --- a/tests/StringTest.cpp +++ b/tests/StringTest.cpp @@ -85,6 +85,8 @@ static void TestString(skiatest::Reporter* reporter) { // SkDebugf(" received <%s> expected <%s>\n", a.c_str(), gRec[i].fString); REPORTER_ASSERT(reporter, a.equals(gRec[i].fString)); } + + REPORTER_ASSERT(reporter, SkStringPrintf("%i", 0).equals("0")); } #include "TestClassDef.h" -- cgit v1.2.3