CloneSet896


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.978class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1761
src/NHibernate.Test/TypesTest/CurrencyTypeFixture.cs
2762
src/NHibernate.Test/TypesTest/DecimalTypeFixture.cs
Clone Instance
1
Line Count
7
Source Line
61
Source File
src/NHibernate.Test/TypesTest/CurrencyTypeFixture.cs

                [Test]
                public void UnsavedValue()
                {
                        var type = (CurrencyType)NHibernateUtil.Currency;
                        object mappedValue = type.StringToObject("0");
                        Assert.AreEqual(0M, mappedValue);
                        Assert.IsTrue(type.IsEqual(mappedValue, 0M), "'0' in the mapping file should have been converted to a 0m");
                }



Clone Instance
2
Line Count
7
Source Line
62
Source File
src/NHibernate.Test/TypesTest/DecimalTypeFixture.cs

                [Test]
                public void UnsavedValue()
                {
                        DecimalType type = (DecimalType) NHibernateUtil.Decimal;
                        object mappedValue = type.StringToObject("0");
                        Assert.AreEqual(0M, mappedValue);
                        Assert.IsTrue(type.IsEqual(mappedValue, 0M), "'0' in the mapping file should have been converted to a 0m");
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[Test]
public void UnsavedValue()
{
    [[#variable6c9ce440]]type = ( [[#variable6c9ce3e0]])NHibernateUtil. [[#variable6c9ce380]];
   object mappedValue = type.StringToObject("0");
   Assert.AreEqual(0M, mappedValue);
   Assert.IsTrue(type.IsEqual(mappedValue, 0M), "'0' in the mapping file should have been converted to a 0m");
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c9ce440]]
var 
12[[#6c9ce440]]
DecimalType 
21[[#6c9ce3e0]]
CurrencyType 
22[[#6c9ce3e0]]
DecimalType 
31[[#6c9ce380]]
Currency 
32[[#6c9ce380]]
Decimal