Skip to content
Snippets Groups Projects
Select Git revision
  • 0a706720428c1a75ff4a1e70e9062619bc61d8f1
  • master default protected
  • emoUS
  • add_default_vectorizer_and_pretrained_loading
  • clean_code
  • readme
  • issue127
  • generalized_action_dicts
  • ppo_num_dialogues
  • crossowoz_ddpt
  • issue_114
  • robust_masking_feature
  • scgpt_exp
  • e2e-soloist
  • convlab_exp
  • change_system_act_in_env
  • pre-training
  • nlg-scgpt
  • remapping_actions
  • soloist
20 results

self_bleu.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    TestKeywords.java 637 B
    package de.tla2b.expression;
    
    import org.junit.Test;
    
    import static de.tla2b.util.TestUtil.compareExpr;
    
    public class TestKeywords {
    
    	@Test
    	public void testTRUE() throws Exception {
    		compareExpr("TRUE", "TRUE");
    	}
    
    	@Test
    	public void testNat() throws Exception {
    		compareExpr("NATURAL", "Nat");
    	}
    
    	@Test
    	public void testExcept() throws Exception {
    		compareExpr("x = a <+ {1 |-> 1}", "x = [a EXCEPT ![1] = 1]");
    	}
    
    	@Test
    	public void testCardinality() throws Exception {
    		compareExpr("card({1, 2, 3})", "Cardinality({1,2,3})");
    	}
    
    	@Test
    	public void testDom() throws Exception {
    		compareExpr("dom_1 = 1", "dom = 1");
    	}
    }