more tests

This commit is contained in:
Adam D. Ruppe 2025-09-07 10:29:14 -04:00
parent f6b5bb9def
commit 0d6411cc58
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ unittest {
// tbh this is more of a phobos test but rvaluerefparam has messed it up before // tbh this is more of a phobos test but rvaluerefparam has messed it up before
auto db = DatabaseDatum("1234567"); auto db = DatabaseDatum("1234567");
assert(to!int(db) == 1234567); assert(to!int(db) == 1234567);
assert(to!long(db) == 1234567);
assert(to!int(DatabaseDatum("1234567")) == 1234567);
assert(to!long(DatabaseDatum("1234567")) == 1234567);
} }
/++ /++