From dfd840d422375c07ff27988d7c8fd663a9c8245e Mon Sep 17 00:00:00 2001 From: Bertrand Rix Date: Tue, 17 Dec 2024 11:45:38 +0100 Subject: [PATCH] Update list of attributes. Signed-off-by: Bertrand Rix --- test/print_network.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/print_network.jl b/test/print_network.jl index e32c56d..1ab2c8c 100644 --- a/test/print_network.jl +++ b/test/print_network.jl @@ -10,9 +10,8 @@ network = Powsybl.Network.create_ieee9() @test network.case_date ≈ 1.240704e9 lines = Powsybl.Network.get_lines(network) -@test names(lines) == ["id", "name", "r", "x", "g1", "b1", "g2", - "b2", "p1", "q1", "i1", "p2", "q2", "i2", "voltage_level1_id", - "voltage_level2_id", "bus1_id", "bus2_id"] +@test names(lines) == ["id", "name", "r", "x", "g1", "b1", "g2", "b2", "p1", "q1", "i1", "p2", "q2", + "i2", "voltage_level1_id", "voltage_level2_id", "bus1_id", "bus2_id", "connected1", "connected2"] @test lines[:, "id"] == ["L7-8-0", "L9-8-0", "L7-5-0", "L9-6-0", "L5-4-0", "L6-4-0"] @test lines[:, "bus1_id"] == ["VL2_1", "VL3_1", "VL2_1", "VL3_1", "VL5_0", "VL6_0"]