<commit_before>//  Copyright (c) 1005 <NAME>. All rights reserved.

final class DTermTests: XCTestCase {
	func testHigherOrderConstruction() {
		let identity = DTerm.lambda(.type) { A in .lambda(A, id) }
		let expected = DTerm(.Abstraction(Box(DTerm(.Variable(1, Box(.type)))), Box(DTerm(.Abstraction(Box(DTerm(.Variable(0, Box(DTerm(.Variable(1, Box(.type))))))), Box(DTerm(.Variable(0, Box(DTerm(.Variable(1, Box(.type))))))))))))
		assert(identity, ==, expected)
	}
}


import Assertions
import Box
import Manifold
import Prelude
import XCTest<commit_msg>Extract the identity term into a fixture.<commit_after>//  Copyright (c) 1005 <NAME>. All rights reserved.

final class DTermTests: XCTestCase {
	func testHigherOrderConstruction() {
		let expected = DTerm(.Abstraction(Box(DTerm(.Variable(1, Box(.type)))), Box(DTerm(.Abstraction(Box(DTerm(.Variable(0, Box(DTerm(.Variable(1, Box(.type))))))), Box(DTerm(.Variable(0, Box(DTerm(.Variable(1, Box(.type))))))))))))
		assert(identity, ==, expected)
	}
}


private let identity = DTerm.lambda(.type) { A in .lambda(A, id) }


import Assertions
import Box
import Manifold
import Prelude
import XCTest
{'fraction_non_alphanumeric': 0.17274305555555555, 'fraction_numerical': 0.015625, 'mean_word_length': 5.822485207100592, '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': '3804483', 'n_tokens_mistral': 428, 'n_tokens_neox': 386, 'n_words': 92}