<commit_before>var Jsonix = require("../../jsonix").Jsonix;

module.exports = {

	"validateMonthDayRange" : function(test) {
		var gMonthDay = Jsonix.Schema.XSD.Calendar.INSTANCE;

		test.doesNotThrow(function() {
			gMonthDay.validateMonthDayRange(02, 29);
		});

		test.throws(function() {
			gMonthDay.validateMonthDayRange(02, 30);
		}, "Error");

		test.throws(function() {
			gMonthDay.validateMonthDayRange(04, 31);
		}, "Error");
		test.throws(function() {
			gMonthDay.validateMonthDayRange(11, 31);
		}, "Error");

		test.done();
	},
}<commit_msg>Issue #73. Added a "doesNotThrow" test in calendar.<commit_after>var Jsonix = require("../../jsonix").Jsonix;

module.exports = {

	"validateMonthDayRange" : function(test) {
		var gMonthDay = Jsonix.Schema.XSD.Calendar.INSTANCE;

		test.doesNotThrow(function() {
			gMonthDay.validateMonthDayRange(02, 29);
		});

		test.throws(function() {
			gMonthDay.validateMonthDayRange(02, 30);
		}, "Error");

		test.throws(function() {
			gMonthDay.validateMonthDayRange(04, 31);
		}, "Error");

		test.throws(function() {
			gMonthDay.validateMonthDayRange(11, 31);
		}, "Error");

		test.doesNotThrow(function() {
			gMonthDay.validateMonthDayRange(12, 31);
		}, "Error");

		test.done();
	},
}
{'fraction_non_alphanumeric': 0.17576243980738362, 'fraction_numerical': 0.030497592295345103, 'mean_word_length': 4.445414847161572, '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': '6634320', 'n_tokens_mistral': 510, 'n_tokens_neox': 428, 'n_words': 61}