<commit_before>
:- object(tests,
	extends(lgtunit)).

	:- info([
		version is 1.0,
		author is '<NAME>',
		date is 2011/02/16,
		comment is 'Unit tests for the "attvars" example.']).

:- end_object.<commit_msg>Added some simple unit tests to the new "attvars" example.<commit_after>
:- object(tests,
	extends(lgtunit)).

	:- info([
		version is 1.0,
		author is '<NAME>',
		date is 2011/02/16,
		comment is 'Unit tests for the "attvars" example.']).

	test(attvars_1) :-
		\+ (domain::domain(X, [a,b]), X = c).

	test(attvars_2) :-
		domain::domain(X, [a,b]), domain::domain(X, [a,c]),
		X == a.

	test(attvars_3) :-
		domain::domain(X,[a,b,c]), domain::domain(X,[a,c]).

:- end_object.
{'fraction_non_alphanumeric': 0.20699708454810495, 'fraction_numerical': 0.033527696793002916, 'mean_word_length': 3.7379310344827585, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6407099', 'n_tokens_mistral': 305, 'n_tokens_neox': 268, 'n_words': 67}