Commit 483636c2 authored by Malte Heithoff's avatar Malte Heithoff
Browse files

Tests

parent 32106c50
Pipeline #388304 failed with stage
in 23 seconds
/* (c) https://github.com/MontiCore/monticore */
package testing;
component PortInitialFromParameter(Q val = 3) {
instance PortInitialSimple{out1(t=0) ~= val} simple;
}
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package testing;
component PortInitialPortArray {
port
out Q out1[3];
}
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package testing;
import fas.basicLibrary.*;
component PortInitialSimple {
ports
out Q out1;
}
\ No newline at end of file
/* (c) https://github.com/MontiCore/monticore */
package testing;
component PortInitialTest {
instance PortInitialSimple{out1(t=0) ~= 2} simple;
instance PortInitialFromParameter fromParameterDefault;
instance PortInitialFromParameter(5) fromParameterGiven;
instance PortInitialPortArray{out1[2](t=0) ~= 7} portArray;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment