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

use super::*;

#[ test ]
fn checkbox_default_state()
{
	let c = checkbox::<()>( true );
	assert!( c.checked );
	assert!( c.on_toggle.is_none() );
}

#[ test ]
fn checkbox_unchecked()
{
	let c = checkbox::<()>( false );
	assert!( !c.checked );
}
