/* LICENSE BEGIN This file is part of the SixtyFPS Project -- https://sixtyfps.io Copyright (c) 2021 Olivier Goffart Copyright (c) 2021 Simon Hausmann SPDX-License-Identifier: GPL-3.0-only This file is also available under commercial licensing terms. Please contact info@sixtyfps.io for more information. LICENSE END */ TestCase := Rectangle { property a; property t1: max(41, 12, min(100, 12), max(-10000, 0+98.5), -4) + min(a, 0.5); property t2: round(10/4) == 3 && floor(10/4) == 2 && ceil(10/4) == 3; } /* ```cpp auto handle = TestCase::create(); const TestCase &instance = *handle; assert_eq(instance.get_t1(), 98.5); assert_eq(instance.get_t2(), true); ``` ```rust let instance = TestCase::new(); assert_eq!(instance.get_t1(), 98.5); assert_eq!(instance.get_t2(), true); ``` ```js var instance = new sixtyfps.TestCase({}); assert.equal(instance.t1, 98.5); assert(instance.t2); ``` */