]> www.ginac.de Git - ginac.git/blobdiff - check/exam_color.cpp
mentioned the imaginary unit 'I'
[ginac.git] / check / exam_color.cpp
index 2190db8ed27e0a2920aa04424a0788b1ebd03a31..79bedd86e998594adf3a3fac3f414ca84cb0c159 100644 (file)
@@ -3,7 +3,7 @@
  *  Here we test GiNaC's color objects (su(3) Lie algebra). */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -101,6 +101,8 @@ static unsigned color_check2(void)
        result += check_equal_simplify(e, 16 * color_ONE() / 9);
        e = color_T(a) * color_T(b) * color_T(c) * color_T(c) * color_T(b) *  color_T(a);
        result += check_equal_simplify(e, 64 * color_ONE() / 27);
+       e = color_T(a) * color_T(b) * color_T(c) * color_T(k) * color_T(a) * color_T(k) *  color_T(c) * color_T(b);
+       result += check_equal_simplify(e, -color_ONE() / 162);
 
        return result;
 }