Unit Tests - Record, T2

- Added Record::get, ::set, ::get_int tests.
- Added T2 tests.
- Fixed Record::composeF4 bug
This commit is contained in:
Paul Beckingham
2009-06-04 00:37:23 -04:00
parent 25450b4a7c
commit b887f7267b
7 changed files with 140 additions and 5 deletions

View File

@@ -59,7 +59,12 @@ std::string Record::composeF4 ()
bool first = true;
foreach (r, (*this))
ff4 += (first ? "" : " ") + r->second.composeF4 ();
{
if (r->second.value () != "")
ff4 += (first ? "" : " ") + r->second.composeF4 ();
first = false;
}
ff4 += "]";
return ff4;