<commit_before>require "test/unit"
require "RubyIOC"

class TestScan < Test::Unit::TestCase
	#def test_scan
	#	find_windows_ioc = File.expand_path(File.dirname(__FILE__)) + "/find_windows.ioc"
	#	test_user_item = File.expand_path(File.dirname(__FILE__)) + "/test_user_item.ioc"
	#	RubyIOC::Scanner.new(File.read(test_user_item)).scan
	#	#puts RubyIOC::Scanner.new(File.read(test_user_item)).scan
	#end

	def test_dns_scan
		dns_test_ioc =  File.expand_path(File.dirname(__FILE__)) + "/test_dns_entry_item.ioc"
		RubyIOC::Scanner.new(File.read(dns_test_ioc)).scan
	end
	
	#def test_arp_scan
	#	arp_test_ioc =  File.expand_path(File.dirname(__FILE__)) + "/test_arp_entry_item.ioc"
	#	RubyIOC::Scanner.new(File.read(arp_test_ioc)).scan
	#end
end<commit_msg>Updated windows method for dns entry item<commit_after>require "test/unit"
require "RubyIOC"

class TestScan < Test::Unit::TestCase
	#def test_scan
	#	find_windows_ioc = File.expand_path(File.dirname(__FILE__)) + "/find_windows.ioc"
	#	test_user_item = File.expand_path(File.dirname(__FILE__)) + "/test_user_item.ioc"
	#	RubyIOC::Scanner.new(File.read(test_user_item)).scan
	#	#puts RubyIOC::Scanner.new(File.read(test_user_item)).scan
	#end

	def test_dns_scan
		dns_test_ioc =  File.expand_path(File.dirname(__FILE__)) + "/test_dns_entry_item.ioc"
		RubyIOC::Scanner.new(File.read(dns_test_ioc)).scan
	end
	
	def test_arp_scan
		arp_test_ioc =  File.expand_path(File.dirname(__FILE__)) + "/test_arp_entry_item.ioc"
		RubyIOC::Scanner.new(File.read(arp_test_ioc)).scan
	end
end
{'fraction_non_alphanumeric': 0.13838120104438642, 'fraction_numerical': 0.0, 'mean_word_length': 6.478048780487805, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7175309', 'n_tokens_mistral': 638, 'n_tokens_neox': 627, 'n_words': 73}