File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/hyperlight_host/tests Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -783,19 +783,22 @@ fn test_if_guest_is_able_to_get_bool_return_values_from_host() {
783783 . call :: < bool > ( "GuestRetrievesBoolValue" , ( i, i) )
784784 . unwrap ( ) ;
785785 println ! ( "{:?}" , res) ;
786- assert ! ( matches! ( res, false ) ) ;
786+ assert ! ( ! res) ;
787787 } else {
788788 let res = sbox3
789789 . call :: < bool > ( "GuestRetrievesBoolValue" , ( i, i) )
790790 . unwrap ( ) ;
791791 println ! ( "{:?}" , res) ;
792- assert ! ( matches! ( res, true ) ) ;
792+ assert ! ( res) ;
793793 }
794794 }
795795}
796796
797797/// Tests whether host is able to return Float/f32 as return type
798798/// or not
799+ /// Adding Ignore attribute, due known issues with float and double
800+ /// calculations - see Github issue #179. Once it is fixed we can
801+ /// remove ignore attribute
799802#[ ignore]
800803#[ test]
801804fn test_if_guest_is_able_to_get_float_return_values_from_host ( ) {
@@ -814,6 +817,9 @@ fn test_if_guest_is_able_to_get_float_return_values_from_host() {
814817
815818/// Tests whether host is able to return Double/f64 as return type
816819/// or not
820+ /// Adding Ignore attribute, due known issues with float and double
821+ /// calculations - see Github issue #179. Once it is fixed we can
822+ /// remove ignore attribute
817823#[ ignore]
818824#[ test]
819825fn test_if_guest_is_able_to_get_double_return_values_from_host ( ) {
You can’t perform that action at this time.
0 commit comments