; 20241007 R.v.Vessum converted python source to metta ; FILE: 48../../../hyperon-experimental/python/tests/test_examples.py :161 ;
self.assertEqualMettaRunnerResults(metta1.run('!(inverse B)'), [[S('A')]]) ;!(assertEqualToResult ( ) ( ) ) ;
self.assertEqualMettaRunnerResults(metta2.run('!(find-in &space1 B)'), [[S('A')]]) ;;
self.assertEqualMettaRunnerResults(metta2.run('!(find-in &self B)'), [[S('C')]]) ;;
self.assertEqualMettaRunnerResults(metta2.run('!(borrow &space1 (inverse B))'), [[S('A')]]) ;;
self.assertEqualMettaRunnerResults(metta2.run('!(borrow &space1 (how-it-works?))'), [[S('success')]]) ;;
self.assertEqualMettaRunnerResults(metta1.run('!(how-it-works?)'), [[S('failure')]]) ;;