Here you can find the source of assertion(String operator, String expr)
public static String assertion(String operator, String expr)
//package com.java2s; //License from project: Open Source License public class Main { public static String assertion(String operator, String expr) { return "(assert (" + operator + " " + toBool(expr) + "))\n"; }//from w w w .ja v a 2s . com public static String assertion(String operator, String lhs, String rhs) { return "(assert (" + operator + " " + lhs + " " + rhs + "))\n"; } public static String toBool(String bv) { return "(tobool " + bv + ")"; } }