<commit_before>use Test;
use Clifford;

plan *;
is e[0]**2, 1,  'square of a vector is usually 1';
is e[(^10).pick, (10..20).pick]**2, -1, 'the square of a bivector is -1';

@Clifford::signature[0] = -1;
is e[0]**2, -1, 'square of a vector is -1 when signature is negative';


# vim: ft=perl6<commit_msg>make plan<commit_after>use Test;
use Clifford;

plan 3;
is e[0]**2, 1,  'square of a vector is usually 1';
is e[(^10).pick, (10..20).pick]**2, -1, 'the square of a bivector is -1';

@Clifford::signature[0] = -1;
is e[0]**2, -1, 'square of a vector is -1 when signature is negative';


# vim: ft=perl6
{'fraction_non_alphanumeric': 0.19370860927152317, 'fraction_numerical': 0.06788079470198675, 'mean_word_length': 4.041666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1110165', 'n_tokens_mistral': 271, 'n_tokens_neox': 251, 'n_words': 87}