mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-30 08:01:18 +01:00
added tests for python
This commit is contained in:
@@ -43,9 +43,9 @@ bool is_int(const std::string &s) {
|
||||
}) == s.end();
|
||||
}
|
||||
|
||||
bool is_hex_or_dec_int(const std::string &s) {
|
||||
bool is_hex_or_dec_uint(const std::string &s) {
|
||||
try {
|
||||
StringTo<int>(s);
|
||||
StringTo<uint32_t>(s);
|
||||
return true;
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user