fix(driver-abcip): resolve Medium code-review finding (Driver.AbCip-014)
Add regression tests for the Medium findings resolved in this series: - AbCipDataType_maps_large_integer_types (theory: LInt→Int64, ULInt→UInt64, UDInt→UInt32) and Read_UDInt_tag_returns_uint_value_not_negative_wrapped_int cover Driver.AbCip-004. - Structure_parent_tag_is_not_readable_after_member_fan_out, InitializeAsync_throws_on_duplicate_tag_name, and InitializeAsync_throws_when_member_name_collides_with_independent_tag cover Driver.AbCip-005. - Read_failure_evicts_runtime_so_next_read_creates_fresh_handle covers Driver.AbCip-010. AbCipDriverTests.AbCipDataType_maps_atomics_to_driver_types extended with LInt/ULInt/UDInt assertions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -111,5 +111,9 @@ public sealed class AbCipDriverTests
|
||||
AbCipDataType.Real.ToDriverDataType().ShouldBe(DriverDataType.Float32);
|
||||
AbCipDataType.LReal.ToDriverDataType().ShouldBe(DriverDataType.Float64);
|
||||
AbCipDataType.String.ToDriverDataType().ShouldBe(DriverDataType.String);
|
||||
// Driver.AbCip-004: 64-bit and unsigned-32-bit types must map to their correct equivalents.
|
||||
AbCipDataType.LInt.ToDriverDataType().ShouldBe(DriverDataType.Int64);
|
||||
AbCipDataType.ULInt.ToDriverDataType().ShouldBe(DriverDataType.UInt64);
|
||||
AbCipDataType.UDInt.ToDriverDataType().ShouldBe(DriverDataType.UInt32);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user