// SPDX-License-Identifier: LGPL-2.1-only
// Copyright (C) 2026 Liberux Labs, S. L. <info@liberux.net>

use super::*;

#[ test ]
fn radio_default_state()
{
	let r = radio::<()>( true );
	assert!( r.selected );
	assert!( r.on_select.is_none() );
}

#[ test ]
fn radio_unselected()
{
	let r = radio::<()>( false );
	assert!( !r.selected );
}
