Skip to content
Snippets Groups Projects
Select Git revision
  • 0435989f1a6a296fa2ffbb8a6d84a069e582bded
  • master default protected
  • release/1.1.4
  • release/1.1.3
  • release/1.1.1
  • 1.4.2
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.1
  • 1.2.0
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1.1
  • 1.1.0
  • 1.0.9
  • 1.0.8
  • 1.0.7
  • v1.0.5
  • 1.0.5
21 results

MCTest.java

Blame
  • 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);
    	}