Select Git revision
MCTest.java
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
MCTest.java 2.20 KiB
package de.tla2b.examples;
import org.junit.Ignore;
import org.junit.Test;
import static de.tla2b.util.TestUtil.runModule;
public class MCTest {
@Test
public void testClub() throws Exception {
String file = "src/test/resources/examples/Club/Club.tla";
runModule(file);
}
@Test
public void testSimpleMC() throws Exception {
String file = "src/test/resources/MCTests/simple/MC.tla";
runModule(file);
}
@Test
public void testConstantSetupMC() throws Exception {
String file = "src/test/resources/MCTests/constantsetup/MC.tla";
runModule(file);
}
@Test
public void testModelValuesMC() throws Exception {
String file = "src/test/resources/MCTests/modelvalues/MC.tla";
runModule(file);
}
@Test
public void testDieHardMC() throws Exception {
String file = "src/test/resources/MCTests/DieHard/MC.tla";
runModule(file);
}
@Test
public void testSimpleAllocatorMC() throws Exception {
String file = "src/test/resources/MCTests/SimpleAllocator/MC.tla";
runModule(file);
}
@Test
public void testMCDieHarder() throws Exception {
String file = "src/test/resources/MCTests/MCDieHarder/MCDieHarder.tla";
runModule(file);
}
@Test
public void testDieHarder() throws Exception {
String file = "src/test/resources/MCTests/DieHarder/MC.tla";
runModule(file);
}
@Test
public void testChannel() throws Exception {
String file = "src/test/resources/examples/Channel/Channel.tla";
runModule(file);
}
@Ignore
@Test
public void testCarTalkPuzzle() throws Exception {
String file = "src/test/resources/MCTests/CarTalkPuzzle/MC.tla";
runModule(file);
}