Пример #1
0
 def testNaoSaoIguaisSeNaoPossuemMesmoBeta(self):
   producao1 = Producao('A', 'abN')
   producao2 = Producao('A', 'abn')
   self.assertEqual(producao1.obterAlpha(), producao2.obterAlpha())
   self.assertNotEqual(producao1.obterBeta(), producao2.obterBeta())
   self.assertNotEqual(producao1, producao2)
Пример #2
0
 def testSabeQualNaoEhSeuBeta(self):
   producao = Producao('A', 'abN')
   self.assertNotEqual('aBN', producao.obterBeta())