test_remainder.py 256 B

12345678910
  1. import unittest
  2. from utils import run_file
  3. class TestRemainder(unittest.TestCase):
  4. def test_remainder(self):
  5. self.assertTrue(run_file(["remainder.alc", "primitives.alc"],
  6. [1, 2, 20, 2, 99, 100, 17, 3],
  7. [1, 0, 99, 2]))