Commit 4f0c53a7 authored by SETaratukhina's avatar SETaratukhina
Browse files

Update test.py

parent baab09ae
Pipeline #3934 failed with stage
in 4 seconds
......@@ -24,9 +24,9 @@ class test(unittest.TestCase):
def testRlsPeleng(self):
air1 = TAircraft(250, 100, 100, math.pi / 3)
air2 = TAircraft(200, 110, 100, math.pi / 4)
air2 = TAircraft(1800, 710, 150, math.pi / 4)
mis1 = TMissle(2500, -144, 1070, math.pi / 4, 50)
mis1 = TMissle(250, -144, 1070, math.pi / 4, 50)
mis2 = TMissle(108, 277, 278, math.pi / 4, 50)
Rls = RLS(50, 100, 1000)
......@@ -41,7 +41,7 @@ class test(unittest.TestCase):
for line in f:
lines.append(line)
f.close()
true_lines = ['0.1; Aircraft #1; D = 879.5831366738453; Az = 1.1925584275755705\n','0.1; Aircraft #2; D = 854.9744193981306; Az = 0.8572177922360511\n']
true_lines = ['0.1; Aircraft #1; D = 879.5831366738453; Az = 1.1925584275755705\n','0.1; Aircraft #2; D = 836.9759732226624; Az = -0.5438555429251304\n']
self.assertEqual(lines, true_lines)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment