class GENERAL_TEST_SET

(source code)

Description

General test set

note
	description: "General test set"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2018-10-30 10:10:41 GMT (Tuesday 30th October 2018)"
	revision: "1"

class
	GENERAL_TEST_SET

inherit
	EQA_TEST_SET

feature -- Tests

	test_any_array_numeric_type_dectection
		local
			array: ARRAY [ANY]
		do
			array := << (1).to_reference, 1.0, (1).to_integer_64 >>
			assert ("same types", array.item (1).generating_type ~ {INTEGER_32_REF})
			assert ("same types", array.item (2).generating_type ~ {DOUBLE})
			assert ("same types", array.item (3).generating_type ~ {INTEGER_64})
		end
end