mirror of
https://github.com/microsoft/foldingdiff.git
synced 2026-06-04 13:30:33 +08:00
Fix some tests
This commit is contained in:
@@ -25,7 +25,7 @@ class TestCathCanonical(unittest.TestCase):
|
||||
def test_return_keys(self):
|
||||
"""Test that returned dictionary has expected keys"""
|
||||
d = self.dset[0]
|
||||
self.assertEqual(set(d.keys()), set(["angles", "coords", "position_ids", "attn_mask"]))
|
||||
self.assertEqual(set(d.keys()), set(["angles", "coords", "position_ids", "attn_mask", "lengths"]))
|
||||
|
||||
def test_num_feature(self):
|
||||
"""Test that we have the expected number of features"""
|
||||
@@ -66,7 +66,7 @@ class TestCathCanonicalAnglesOnly(unittest.TestCase):
|
||||
def test_return_keys(self):
|
||||
"""Test that returned dictionary has expected keys"""
|
||||
d = self.dset[0]
|
||||
self.assertEqual(set(d.keys()), set(["angles", "position_ids", "attn_mask"]))
|
||||
self.assertEqual(set(d.keys()), set(["angles", "position_ids", "attn_mask", "coords", "lengths"]))
|
||||
|
||||
def test_num_features(self):
|
||||
"""Test that we return the expected number of features and have correctly removed distance"""
|
||||
|
||||
Reference in New Issue
Block a user