SP
test: Improving test coverage
spaceandtimelabs/sxt-proof-of-sql#654

Started adding tests. Will try to cover code that would add value.

/claim #560

Please go through the following checklist

Rationale for this change

Gradually increasing test coverage

What changes are included in this PR?

Added new tests

proof-of-sql-parser/src/posql_time/timezone.rs
proof-of-sql-parser/src/posql_time/timestamp.rs
proof-of-sql-parser/src/identifier.rs
proof-of-sql-parser/src/intermediate_ast.rs

Additionally, added check for time zone boundaries, hours should not be over 12, and minutes should not be over 60 (please correct me if I am doing it wrong). This change is also tested

Ignoring

Ignored because some tests felt redundant, I am open for suggestions.

proof-of-sql/src/base/arrow/owned_and_arrow_conversions.rs
proof-of-sql/src/base/arrow/column_arrow_conversions.rs
proof-of-sql/src/base/database/column_repetition_operation.rs

Are these changes tested?

Yes.

Claim

Total prize pool $229
Total paid $0
Status Approved
Submitted March 21, 2025
Last updated March 21, 2025

Contributors

TA

Tarin Mahmood

@tmahmood

100%

Sponsors

SP

Space and Time

@spaceandtimelabs

$229 pending