@Test
public void testCanonicalConstant() {

  assertEquals("1", BasicType.INT.getCanonicalConstant(new Scope()).getText());
  assertEquals("1u", BasicType.UINT.getCanonicalConstant(new Scope()).getText());
  assertEquals("1.0", BasicType.FLOAT.getCanonicalConstant(new Scope()).getText());
  assertEquals("true", BasicType.BOOL.getCanonicalConstant(new Scope()).getText());
  assertEquals("uvec4(1u)", BasicType.UVEC4.getCanonicalConstant(new Scope()).getText());
  assertEquals("mat2(1.0)", BasicType.MAT2X2.getCanonicalConstant(new Scope()).getText());
}